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?