Announcement Announcement Module
Collapse
No announcement yet.
Dynamic injection of persistent Context Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dynamic injection of persistent Context

    I implement a pool of runnable class type Event.

    Every Event instance might update some data on database using JPA.

    My problem is : how is possible inject ,using spring, the persistent context in the Event class innstance?
    Event class is loaded dinamically so spring scanning doesnt work!

    i dont know how create a new entity manager and embed it in a transaction
Working...
X