I am using Eclipselink 2.3.2 and want to know if there is a way to exclude a single table / entity excluded from the ddl generation strategy drop-and-create-tables? I need to keep the contents of this table, while all other tables must be reset and created completely new.
The reason is that the domain model is in difficult development, so everything has changed everywhere. But one table (containing the postal codes) must be saved because they are necessary for development, and it takes a long time to insert them all on each server startup.
I know that one way is to use two different storage units. But this can cause some other problems, so this is not my preferred way.
Summary: does anyone know how to exclude from the table the deletion of one table, and all the other tables will be deleted and recreated on each server, starting with ecliselink 2.3.2 (and Glassfish 3.1.2)?
Ralph source
share