On January 27th, this site will be read-only as we migrate to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,599 Users
  • 2,269,762 Discussions


Hibernate Session Factory under entityManager

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?

This discussion has been closed.