Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
EJB and other Java EE Technologies
Sun App Server 8.2 + JAVA Persistence + Creator 2_1
posted 10 years ago
I`m trying to run
persistence within a web application.
I`ve created a standalone jar that contains all the entity beans and persistence.xml files. This works perfect, i can read, insert ....
The problem is i`m using studio creator 2. And i want to use my persistence jar to persist data to the database.
But as soon as jou include the jar,deploy and run the piece of code that
execute now, it sezz that is cant find the Persistence
I`m basically inlcuding the whole jar, that contains the PU aswell. So as far as i cant see it looks like SJAS 8.2 doesn`t load the persistence.xml file.
SCJP, SCJD, SCWCD, SCBCD (JEE)
Boost this thread!
Problem in Standalone persistence
Multiple persistance unit simultaneously, issue.
JPA with JSF
Can you store persistence.xml in an ear file?
EJB can't find Optional Package and thus Persistence Unit in it