Use of inbuilt Hibernate and Bitronix JTA
I would like to make use of the inbuilt Hibernate and Bitronix JTA for my own database.
I can see where the resources for the databases are defined in /bin/setenv.bat, /conf/bitronix-resources.properties and /conf/Catalina/localhost/bonita.xml but have no-idea how to do the database access portion of coding, does anyone have an example of java code to do this?
Accessing the datasource, reading a set of rows, inserting and updating a record.
Many thanks and best regards Seán
I don't think reusing the Hibernate instance used by Bonita Engine would be a good idea. It's likely to lead to unwanted interactions.
About the usage of JTA, if you want to integrate your application with Bonita Engine transaction, you can refer to the dedicated documentation page .
Many thanks for the advisory, appreciated.
At least I now know to look at other options,