[hibernate-issues] [Hibernate-JIRA] Created: (JPA-26) high-performance reading using non-jta datasource
Ibrahim Abu Ghosh (JIRA)
noreply at atlassian.com
Sun Dec 18 10:33:19 EST 2011
high-performance reading using non-jta datasource
-------------------------------------------------
Key: JPA-26
URL: http://opensource.atlassian.com/projects/hibernate/browse/JPA-26
Project: Java Persistence API
Issue Type: Improvement
Environment: JBoss AS 6, Hibernate 4.0 Final
Reporter: Ibrahim Abu Ghosh
Priority: Minor
can we optimize reading performance by using non-jta-data-source along with jta-data-source, ex:
<persistence-unit name="myPU">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:TxDS</jta-data-source>
<non-jta-data-source>java:NoTxDS</non-jta-data-source>
...
</persistence-unit>
when a method with no transaction context it will use NoTxDS else TxDS.
thanks
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list