Hibernate, Informix and two phase commit
Posted in 2009
Topics: General Discussion
Hi guys, I'm searching for information about Informix using Hibernate and the two phase commit. I would like to know if someone has already used that. I know that Informix can be used with two phase commit but I don't know if Hibernate can. Thanks. Loïc
LOïC COUTURIER wrote: > Hi guys, > > I'm searching for information about Informix using Hibernate and the two phase > commit. > > I would like to know if someone has already used that. > > I know that Informix can be used with two phase commit but I don't know if > Hibernate can. > > Thanks. > > Loïc Oh yes, we're using Informix with JBoss-4.2.4 which includes Hibernate for the EJB3 persistence. Two databases, one as an instance database for JBoss and one for the application data. Actions like sending a Message to a Queue use transactions spanning those two databases which are only reliable with distributed transactions activated by using xa-datasources.