Please describe what your problem is (error messages etc.), so we can
help you. From what you wrote below it is hard to detect where exactly
you are stuck. Are you a beginner with JPA or a beginner with Java or a
beginner with NetBeans? Is your problem that you cannot compile or that
you cannot run?
Are you using TopLink inside of a standalone JAR (then
toplink-essentials.jar and toplink-essentials-agent.jar and
META-INF/persistence.xml must be on your classpath at runtime), or are
you using TopLink inside of an enterprise application (ejb-jar file or
war file), then you just need the persistence.xml in either META-INF or
WEB-INF/classes/META-INF.
Regards
Markus
glassfish_at_javadesktop.org schrieb:
> Please give me some hint! I am stuck at this place and cannot move ahead towards learning JPA! :( I did everything and still it doesn't work. I added every possible path (related to JPA) to my path environment variable. So this is not the reason. NetBeans shows that there is a Library called "Toplink Essentials", which has its jars present in the netbeans folder, and i have imported this library in my project! Inside there is the javax.persistence package!
>
> Please help me :((
> [Message sent by forum member 'recursion' (recursion)]
>
> http://forums.java.net/jive/thread.jspa?messageID=286193
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
--
http://www.xing.com/go/invita/58469