Skip to main content

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 TimFriend
Messages: 18
Registered: July 2009
Junior Member

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 cannot be cast to
org.eclipse.jdt.core.dom.ArrayInitializer". Something wrong in my
Previous Topic:Persistence and Java SE - Example
Next Topic:It works, but does not compile (only half a joke!)
Goto Forum:

Current Time: Sun Jun 17 22:27:46 GMT 2018

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

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

Back to the top