Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353072

Summary: It's not possible to add new columns to DB-tables without drop-and-create
Product: z_Archived Reporter: Sergei Jochim <sergei.jochim>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jamesssss, sergei.jochim
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Sergei Jochim CLA 2011-07-26 02:30:09 EDT
My case is:

I want to add a new column in an exsisting database, but do not want to lose data from database. It would be nice to just adding new columns with statement "create" in persistence.xml. Maybe there is an other way to solve this problem.
Comment 1 James Sutherland CLA 2013-01-15 10:39:15 EST
Support was added to "create-or-extend-tables" in the DDL generation options in 2.4.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:14:44 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:31:51 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink