[glassfish] EJB and JPA versions [message #523770] |
Mon, 29 March 2010 05:20  |
Eclipse User |
|
|
|
Dear all,
I'd like to know if the following steps are normal when using Eclipse with Glassfish v3 :
- To enable JPA 2.0 (EclipseLink 2.0), I need to go to Window>Preferences> JavaPersistence and then download as a "User Library" the v2.0.1 of EclipseLink. Actually, the only version listed in "Library/Type" combo box is EclipseLink 1.1.x.
The persistance unit provided by Glassfish v3 for Java EE 6 the good libraries (2.0.1).
- I can't see v3.1 of EJB in properties > project facets > EJB Module -> version. The latest I can see is 3.0. But the library in the GlassFish one is the good one 3.1.
- Last question : I tried many ways to make my persistence unit indepedant from the EJB module, but when I build the EAR file, the JPA libraries are not included. If I make only one project containing EJB + Entities, I have no problem. EclipseLink is checked in buildpath > Order and Export and into "Java EE Module dependancies", but remains not included.
Thanks a lot for your help.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02172 seconds