-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added column size specification varchar(16000) to exporter SQL schema #33
Conversation
Hi @huksley , thanks for your contribution.
I think we tested it with H2 and it seems to work, but maybe this is true for other databases. What type of database do you use? What is the reason for Greets |
H2 defaults to 255 symbols if not specified. |
Hi @huksley ,
I'm not sure if this is correct, since we have examples which are greater then 255 bytes anyhow
This is a bit vague, I mean why we say you can have only processes with maximal 16k bytes, not 17k or 18k? Would like to have an reason for this or no limit.
What do you mean with "it can change application logic"? You mean in the simple monitor? Would like to have CLOB instead of VARCHAR, since this data type makes sense for larger values like the workflow models. Furthermore it is also ok if we change the current simple-monitor impl. Would CLOB work for you? Which database do you use? |
Hi I am using H2 and I have had an exception when uploading schema from simpe monitor that workflow.resource_ column can`t fit it due to column being 255 bytes. After recreating table with resource_ varchar(16000) problem was fixed. |
CLOB datatype is not universally supported for example in MySQL/MariaDB it is named TEXT |
Ok yes, but VARCHAR is not designed for this type of data (large texts). If the user wants to use another database, then he have to change it, maybe in the future we can also add an mechanism for auto detection. The |
Update from upstream
Superceeded by #39 |
…aven/com.h2database-h2-2.2.220 chore(deps): bump h2 from 2.1.214 to 2.2.220
Self-explanatory. The current version does not allow to load even the simple BPMN files to WORKFLOW table.