We're updating the issue view to help you get more done. 

high-performance reading using non-jta datasource

Description

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

Environment

JBoss AS 6, Hibernate 4.0 Final

Status

Assignee

Unassigned

Reporter

Ibrahim Abu Ghosh

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Priority

Minor