|Any example for Gemini JPA Eclipse RCP ? [message #1012995]
||Fri, 22 February 2013 15:26
| Oliver Kolling
Registered: April 2010
after struggling for some days and reading through nearly a million posts I wonder if there is any chance that someone actually made a working example using Gemini JPA in an Eclipse e4 RCP application. I would like to move and existing 3.x rcp/jpa (EclipseLink)application to e4. From what I read, it is recommended to create separate bundles for persistence, JDBC Provider(driver), JPA Provider and the client(rcp application).
For the JPA Service, the wiki says
When a persistence bundle gets installed, the persistence units it defines will be discovered and processed by Gemini JPA. The first processing stage will occur before the bundle gets resolved, while the second one will occur after the bundle has been resolved. It is during the second processing step that Gemini JPA will normally register two services, the EntityManagerFactory service and the EntityManagerFactoryBuilder service, in the OSGi service registry for each persistence unit in the bundle.
I think my persistence unit defined is not discovered and processed by Gemini JPA.
So I hoped someone has an working example with different bundles to see what I missed.
Powered by FUDForum
. Page generated in 0.03662 seconds