07-28-2011 03:59 AM
07-28-2011 09:30 AM
In my opinion adding Hibernate support or even making it easy to plug in hibernate is crucial for Activiti to be used.Hmm… many people use it without hibernate, so it cannot be crucial don't you think?
In our project we use hibernate to communicate with the database. I especially like the fact that it supports so many different databases….Now because Activiti supports a few databases it essentially isn't usable by us, even though it performs the workflows we designed very well.MyBatis supports many databases as well, it is just that for some databases Activiti needs custom queries as it would have with Hibernate I think. So the limited number of databases is an Activiti thing, not a Hibernate vs MyBatis issue.
Furthermore because all the data in our system is already retrieved / stored with Hibernate, it seems only logical to also use it for Activiti.Does it? Does this mean that you do not use any other system that accesses a database without Hibernate, so no commercial software etc that does e.g. not even use jdbc? You can share connections between your hibernate sessions and activity or use JTA to have common transactions.
Even if you still think that Hibernate support is not going to be included would it be possible to plug it in somewhere easy?Easy? Have you ever written an application where you could easily plug in another persistence framework? And I do not mean replacing a JPA compliant persistence implementation? That is almost undoable and not worth the effort considering the things I wrote above (we use Hibernate and MyBatis next to eachother without problems)
07-28-2011 11:12 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.