users@glassfish.java.net

Re: Please help me with integrating javax.persistence into GlassFish

From: <glassfish_at_javadesktop.org>
Date: Mon, 14 Jul 2008 12:18:54 PDT

Thank you guys for your time! But unfortunately both of you are incorrect.

First try: i removed the "import javax.persistence.*;" statement and replaced all occurrencies of the Entity, Table and Id annotations with the full names, i.e. javax.persistence.Entity, but the project didn't compile. I get the same error "package javax.persistence does not exist"

Second try: I opened all the required project (this is only the bookstore project). It already had the Toplink Essentials package included in its Library section. I compiled, and nothing happened. Here's the screenshot:

http://img140.imageshack.us/my.php?image=jpaproblemri7.jpg

However, keep trying and giving good ideas! :) Maybe it will work some day....
[Message sent by forum member 'recursion' (recursion)]

http://forums.java.net/jive/thread.jspa?messageID=286535