Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate uncommitted read options (db2 with ur)

 
Rama Krishna
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate allows us to specify default connection isolation modes

For read-uncommited, or Connection.TRANSACTION_READ_UNCOMMITTED, you can set hibernate property as (?):
<prop key="hibernate.connection.isolation">1</prop>

How is this different from specifying "with ur" by adding an interceptor or modifying the hibernate core classes as per:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3644?

Thanks
Krishna
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!