afaik the context variables are in one hibernate file. You only have to update one (besides the log ...) but I could be wrong.
I modified the StringInstance.hbm.xml to hold text instead of the a String (4000). Also had to alter the mssql.create.sql script so that the JBPM_VARIABLEINSTANCE.STRINGVALUE_ is text.
this worked for my initial tests when I was hold large Stringified XML.
I was wondering about any implications because of this change say when I want to view the variable instance in a webapp?.
I created a custom class BigString which only wraps a String instance.
Then I created a class BigStringInstance as descendant of VariableInstance.
And I created a mapping file BigStringInstance.hbm.xml (new column BIGSTRINGVALUE_ of type clob), modified the jbpm.hibernate.cfg.xml file and also added an entry to jbpm.varmapping.properties.
this is working fine without persistence. but as soon as I try to commit my transaction (after creating a BigString variable), the JbpmSession will throw a ClassCastException.
what am I missing on defining a custom jbpm type? JbpmType.getJbpmTypes() does include my BigStringInstance.
javax.servlet.ServletException: no transitionName is specified while state 'decision-site' has 4 leaving transitions : [transition[decision-site|accept-payment], transition[decision-site|forward-asst], transition[decision-site|decision-site], transition[decision-site|done]]
So can you please tell me what is the soltution for this problem ?
I am using jbpm2.0
How can i get current tokenid in .form file ?
I am using jbpm2.0
So help me understand something here. The scripts that come with JBPM for mysql, specifically the mssql.create.sql script, does not work with mysql?
At least, that is what I found and appears to be what you found with your 4000 issue. If this is the case, what is the point of having this mysql script if it is not mysql compatible?
When I run the script from JBPM I get:
"MySQL Error Nr.1064-You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'identity not null, class char(1) not null, NAME_ varchar(255) n"
append every line with a ;