[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Why every find / select query executes a commit?
do-not-reply at jboss.com
Thu Feb 12 13:17:04 EST 2009
Profiling my EJB 3.0 project I've found that every EJB method that calls a select query or an entity manager em.find, executed a oracle.jdbc.driver.PhysicalConnection.commit().
How can avoid this? I've tried changing the transaction attribute of the method but nothing hapend. Is there any read only way to execute the queries?
I'm using JBoss-4.2.0.GA and Oracle 10.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209659#4209659
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209659
More information about the jboss-user