Re: Hibernate 3.0
Chas Douglass <[email protected]> Wed, 06 Jul 2005 07:29:16 -0700
| Newsgroups | gmane.comp.db.mckoi |
|---|---|
| Message-ID | <[email protected]> |
I should have mentioned I'm trying to get the Hibernate example to work. I set the DB properties for Mckoi. It gets this error after creating the sample tables and when it attempts to insert some test data. Chas Douglass James wrote: > Mckoi has serializable isolation level which can give > unexpected behavior if you are used to read commited > isolation. > > If a connection is sitting in a connection pool for a > period of time keep in mind that it is actually in a > transaction that started with the last > commit/rollback. This in turn means that it has and > is working on an image of the database as existed at > the end of that last transaction, when it was used by > a previous Hibernate session object. > > So, I don't know if a Hibernate session object, upon > creation, does a commit/rollback on it's connection > before proceeding to do whatever it is going to do. > If it doesn't, then the image of the database it is > working on could be rather old--seconds or minutes or > more. If the schema has been changed in the mean > time, by another connection, then upon a commit there > will be a Serializable Transaction Conflict. > > At least this is my understanding, so please correct > if anyone disagrees. > > Jim > > > > --------------------------------------------------------------- > Mckoi SQL Database mailing list http://www.mckoi.com/database/ > To unsubscribe, send a message to [email protected] > > --------------------------------------------------------------- Mckoi SQL Database mailing list http://www.mckoi.com/database/ To unsubscribe, send a message to [email protected]