Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Hibernate Session Factory under entityManager

SmartMOAug 28 2013

I have a Spring Roo generated JSF application that works great.

My problem comes from an integration task where I must integrate the data and objects in that JSF application in WebSphere Message Broker.

The JSF application uses EntityManager to persist the data.

To use my same classes, entities, etc. in Broker Java Compute Node, I must use the broker's JDBC connection.

My question is, can I navigate from the EntityManager down to some level where the Hibernate Session Factory is found so I can override and inject the Connection from Broker?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 25 2013
Added on Aug 28 2013
0 comments
1,063 views