How to set the transaction isolation level of a
- by Michael Wiles
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