can't add java persistence to java project [message #605516] |
Thu, 06 September 2007 10:57 |
Eclipse User |
|
|
|
Hello
I installed Eclipse 3.3.0, JRE 1.5, Java Persistence API
(toplink-essentials.jar) and JBoss v.4.2 runtime server. Connection to my
sql database works and I can create new JPA projects and create entities
from database.
My problem is that I can't create entities from database in my Java
project. I added toplink-essentials.jar to classpath but I still can't
create entities. If I right click on java project, there isn't JPA tools >
Generate entities or anything that I can use for adding entities. Is it
possible to add JPA support to java project and how?
Sometimes When I start Eclipse and I'm using JPA perspective, I get error
"Initializing JPA model... reason: An error occurred while traversing
resources.org.eclipse.jdt.core.dom.QualifiedName cannot be cast to
org.eclipse.jdt.core.dom.ArrayInitializer". Something wrong in my
configuration?
|
|
|
Powered by
FUDForum. Page generated in 0.03300 seconds