Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Set JPA entities at runtime(is it possible to set classes at compile time without hack?)
icon5.gif  Set JPA entities at runtime [message #514341] Sun, 14 February 2010 19:30 Go to next message
Filipp A. is currently offline Filipp A.Friend
Messages: 49
Registered: February 2010
Hi all,
is it possible, in eclipselink 2.0, to set entity classes at compile time?

for eclipse 1.x it was possible with some hack ( ies-at-runtime/).

Re: Set JPA entities at runtime [message #517923 is a reply to message #514341] Tue, 02 March 2010 14:36 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

EclipseLink has always supported auto discovery of the entity classes in JSE. Just set,


The jar where the persistence.xml is defined will be search for any entity classes. You can also include your entities in a seperate jar and use the <jar> tag.

James : Wiki : Book : Blog : Twitter
Previous Topic:ORA-03137 error while using eclipselink 1.1.1
Next Topic:Adapting to existing database
Goto Forum:

Current Time: Tue Dec 01 09:18:43 GMT 2015

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

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