|
Re: Is M5 usable for JPA? [message #434324 is a reply to message #434322] |
Tue, 06 March 2007 12:42 |
Lumir Vanek Messages: 32 Registered: July 2009 |
Member |
|
|
Hi,
I work with similar config. (On Windows), on switching one of my project
from own O/R layer to JPA. DB is Oracle, JPA impl. is
toplink-essentials. DB layer is used in three subprojects: GUI app
(Swing), console app and JEE/JSF.
1. Editing persistence.xml works normally for me.
2. What type of project you created ? Java or JPA ? Do you see JPA in
project facets ? Do you have set JPA library in Window->Preferences->JPA ?
3. I am able to generate entities with JPA, but don't use it. I have
legacy database and need better control on generated entities than JPA
generator allow. I use Hibernate reverse engineering tools instead, for
this job.
4. At this time, I don't have this work finished. I have about 10
generated entity classes, 10 handly created native queries, service
classes for it and working JUnit tests.
Config:
xsd-runtime-2.3.0M5.zip
wtp-jpa-S-2.0M5-200702230758.zip
GEF-runtime-3.3M5.zip
wtp-S-2.0M5-200702230758.zip
dtp_1.5M5.zip
emf-sdo-runtime-2.3.0M5.zip
wtp-jsf-S-2.0M5-200702230758.zip
eclipse-SDK-3.3M5eh-win32.zip
Also see:
http://www.eclipse.org/dali/docs/tutorial/jsf/dali_jsf_tutor ial.htm
but some info is absolete, its for WTP 1.5.
And:
http://www.avaje.org/jpaapi.html
http://www.jpox.org/docs/1_1/tutorials/eclipse_dali.html
Bye,
Lumir Vanek
|
|
|
|
Re: Is M5 usable for JPA? [message #592258 is a reply to message #434322] |
Tue, 06 March 2007 12:42 |
Lumir Vanek Messages: 32 Registered: July 2009 |
Member |
|
|
Hi,
I work with similar config. (On Windows), on switching one of my project
from own O/R layer to JPA. DB is Oracle, JPA impl. is
toplink-essentials. DB layer is used in three subprojects: GUI app
(Swing), console app and JEE/JSF.
1. Editing persistence.xml works normally for me.
2. What type of project you created ? Java or JPA ? Do you see JPA in
project facets ? Do you have set JPA library in Window->Preferences->JPA ?
3. I am able to generate entities with JPA, but don't use it. I have
legacy database and need better control on generated entities than JPA
generator allow. I use Hibernate reverse engineering tools instead, for
this job.
4. At this time, I don't have this work finished. I have about 10
generated entity classes, 10 handly created native queries, service
classes for it and working JUnit tests.
Config:
xsd-runtime-2.3.0M5.zip
wtp-jpa-S-2.0M5-200702230758.zip
GEF-runtime-3.3M5.zip
wtp-S-2.0M5-200702230758.zip
dtp_1.5M5.zip
emf-sdo-runtime-2.3.0M5.zip
wtp-jsf-S-2.0M5-200702230758.zip
eclipse-SDK-3.3M5eh-win32.zip
Also see:
http://www.eclipse.org/dali/docs/tutorial/jsf/dali_jsf_tutor ial.htm
but some info is absolete, its for WTP 1.5.
And:
http://www.avaje.org/jpaapi.html
http://www.jpox.org/docs/1_1/tutorials/eclipse_dali.html
Bye,
Lumir Vanek
|
|
|
|
Powered by
FUDForum. Page generated in 0.03789 seconds