openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <>
Subject Re: Files in package org.apache.openjpa.kernel.jpql.
Date Wed, 29 Apr 2009 21:44:06 GMT

Ashish -

I just pulled down trunk and have a slightly shorter solution that what Mike
suggested :)

- Check out and compile trunk
- trunk\openjpa-parent> mvn eclipse:eclipse
- In Eclipse 
	- Import > Existing Projects into Workspace > Import all of the OpenJPA
projects except openjpa
	- For each project > right click -> properties > Java Build Path > Source
tab > there should be a folder listed with a red x, delete that.
	- Window > Preferences > Java > Build Path > Classpath Variables -> add
M2_REPO and have it point to your local maven repository.
	* At this point you shouldn't have any compiler errors in Eclipse.
	- Edit the hellojpa persistence-unit in
		- Remove the comments around the connection properties
		- Also want to add the line listed below[1]. This will trigger OpenJPA to
build your db tables.


[1] <property name="openjpa.jdbc.SynchronizeMappings"
View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message