Using Orm with Spring


The persistence session management is more or less done by Manager provider by your code generator.

Can we inject them in spring like we do it for session management of hibernate?

So that we can elevate transaction management and exposing spring capabilities along with orm or DI etc.

Can you spring sample spring application context which show how to do it?