| [Gemini JPA] An EntityManagerFactory created by EMFBuilder shouldn't be automatically registered? [message #813847] |
Mon, 05 March 2012 14:31  |
Cristiano Gaviao Messages: 245 Registered: July 2009 |
Senior Member |
|
|
I've created a EMF in the persistence unit bundle, with custom jdbc properties, using a EMFBuilder that I got from registered services (using DS) .
I notice that the EMF service is only registered when there are a completed punit. the same doesn't occurs when I use the EMFBuilder with custom data.
I will need the created EMF be available to others services components, so I must register it as service.
I could register it by myself as a service, but this shouldn't be a job for EMFBuilder in the createEntityManagerFactory() method?
regards,
Cristiano
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02065 seconds