Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Modify database schema for class based entities
Modify database schema for class based entities [message #1059838] Tue, 21 May 2013 20:17 Go to next message
Florian Pirchner is currently offline Florian PirchnerFriend
Messages: 94
Registered: July 2009


i was reading with big interest since it allows me to change the database schema based on Eclipse-Link-API.

Is there also a way to change the schema for class based entities (Entities that become defined by JPA annotated classes)?

My intention is to remove FKConstraints from a table at runtime and add it after data migration again.
And to add new columns to the table schema or to remove them?

Best, Florian
Re: Modify database schema for class based entities [message #1060034 is a reply to message #1059838] Wed, 22 May 2013 15:10 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

EclipseLink supports a DDL option of "create-or-extend-tables"


James : Wiki : Book : Blog : Twitter
Previous Topic:TabelDefinition for JPAEntity.class
Next Topic:Problems with Eclipselink batching statements
Goto Forum:

Current Time: Thu Apr 19 18:05:23 GMT 2018

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

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