DDL « Test « JPA Q&A





1. Testing jpa ddl types    stackoverflow.com

I'm trying to run some tests and every time I run play it clears the database. I guess this is due to my "test.jpa.ddl" property. Current code:

%test.jpa.ddl=create-drop
Is it just removing this ...

2. Make EcliseLink fail if there is an error executing the DDL statements    stackoverflow.com

We use EclipseLink for persistence, and have configured EclipseLink to automatically create the database tables etc., by setting the property eclipselink.ddl-generation to drop-and-create-tables. This works fine, however EclipseLink (and thus our ...