How to set the transaction isolation level of a

Posted by Michael Wiles on Stack Overflow See other posts from Stack Overflow or by Michael Wiles
Published on 2010-06-07T14:59:36Z Indexed on 2010/06/07 15:02 UTC
Read the original article Hit count: 286

Filed under:
|
|
|

How do I set the global transaction isolation level for a postgres data source.

I'm running on jboss and I'm using hibernate to connect.

I know that I can set the isolation level from hibernate, does this work for Postgres?

This would be by setting the hibernate.connection.isolation hibernate property to 1,2,4,8 - the various values of the relevant static fields.

I'm using the org.postgresql.xa.PGXADataSource

© Stack Overflow or respective owner

Related posts about java

Related posts about postgresql