Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » TabelDefinition for JPAEntity.class
TabelDefinition for JPAEntity.class [message #1059836] Tue, 21 May 2013 20:14 Go to next message
Florian Pirchner is currently offline Florian PirchnerFriend
Messages: 94
Registered: July 2009


based on a given i would like to create the TableDefinition for it. I could see that TableDefinition gains access to the eclipse link meta model of the java-entity. And i would like to use that data for model evolution.

But i could not find a way to create the table definition for it.
Following site suggest using EntityTypeBuilder.class to create a type. So i tried to figure out more details. But it does not exist.

Has anyone an idea how to do so?

Thanks a lot,
Re: TabelDefinition for JPAEntity.class [message #1060032 is a reply to message #1059836] Wed, 22 May 2013 15:08 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

EclipseLink supports generating table from JPA Entities using persistence unit properties.

If you are trying to do this yourself, the code for this is in DefaultTableGenerator in the schemaframework package.

James : Wiki : Book : Blog : Twitter
Previous Topic:What is happening here
Next Topic:Modify database schema for class based entities
Goto Forum:

Current Time: Tue May 22 19:44:25 GMT 2018

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

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

Back to the top