Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » can't add java persistence to java project
can't add java persistence to java project [message #605516] Thu, 06 September 2007 14:57
Tim is currently offline Tim
Messages: 18
Registered: July 2009
Junior Member
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?
Previous Topic:Persistence and Java SE - Example
Next Topic:can't add java persistence to java project
Goto Forum:
  


Current Time: Sat Sep 20 20:11:20 GMT 2014

Powered by FUDForum. Page generated in 0.06999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software