• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Isolation level -- won't let me do read uncommitted?

 
Aaron Wilt
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm not a db expert, but my dba told me that for our app we need to set the isolation level to read uncommitted. We're currently using Oracle 10g Express Edition (XE)

So in my persistence.xml I added this:

<property name="hibernate.connection.isolation" value="1" />

the #1 corresponds to read uncommitted of java.sql.Connection.

When I tried to run the app, I got this exception:

java.sql.SQLException: READ_COMMITTED and SERIALIZABLE are the only valid transaction levels

Is this a limitation of Oracle XE ? What would cause this and how can I fix it?

Thanks,
Aaron
 
Shailesh Kini
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aaron,

Hope this helps... Ask Tom... he knows it all
 
Aaron Wilt
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Shailesh, that did help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic