| I am using JPA (hibernate implementation) with spring in a project. When running automated test the persistance.xml is configured through spring to generate the create and drop scripts for the database. There is only one entity called Book. That should create one line in the create script to create the table Book and one line in the drop script to drop the table Book. The problem is that everytime i run the tests the scripts are not regenerated but instead a new line is added to the script. So if i run the test 3 times the script looks like: create table Book (title varchar(255) not null, primary key (title)) create table Book (title varchar(255) not null, primary key (title)) create table Book (title varchar(255) not null, primary key (title)) When i switch back to the previous version i was using 4.3.6 everything works fine. |