My main requirement is to be able to use the case definition, and persist caseFile data and MappedVariable throughout the whole case process.
After setting
hibernate.id.new_generator_mappings=true, I am still unable to insert records into my table, and the logs shows nothing from hibernate even when I have the hibernate.show_sql = true.
1. If I create the flow as "case definition", then the records are not inserted into the table, no logs are shown from the server for hibernate. The record is being inserted into both CaseFileDataLog and ProcessInstanceLog properly.
2. If I create the flow as a "business process", then I am able to insert the records into the table with the below logs. However, nothing gets inserted into the MappedVariable table. The record is being inserted into ProcessInstanceLog properly.
17:32:05,281 INFO [stdout] (default task-6) Hibernate: select next_val as id_val from CARDAPPLICATION_ID_SEQ with (updlock, rowlock)
17:32:05,284 INFO [stdout] (default task-6) Hibernate: update CARDAPPLICATION_ID_SEQ set next_val= ? where next_val=?
17:32:05,288 INFO [stdout] (default task-6) Hibernate: select next_val as id_val from CARDAPPLICATIONADDRESS_ID_SEQ with (updlock, rowlock)
17:32:05,327 INFO [stdout] (default task-6) Hibernate: update CARDAPPLICATIONADDRESS_ID_SEQ set next_val= ? where next_val=?
17:32:05,333 INFO [stdout] (default task-6) Hibernate: insert into dbo.CardApplication (DOB, Email, First_Name, Ip_Address, Last_Name, Middle_Name, Phone, SSN, Card_Application_Key) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
17:32:05,336 INFO [stdout] (default task-6) Hibernate: insert into CardApplicationAddress (Address, Address_Type, Card_Application_Key, City, State, Zipcode, Card_Application_Address_Key) values (?, ?, ?, ?, ?, ?, ?)
I am using 7.32.0.FINAL version of jbpm. Am I using the right version for this functionality?