Closed ghost closed 5 years ago
Hi,
i tested the jpa2dll plugin with the action UPDATE as folllows:
genrate a Entity Person (name)
mvn clean package -> resulting a script with a new table called person and a column called name
added a new attribute age to person
mvn clean package -> resulting a script to modify the table person (add cloumn age...)
added a new attribute firstname to person
removed the attribute age from person
mvn clean package -> missing a statement for removing column
It is a bug or it is a normal behaviour? The
Many Thanks
Sorry for the delay. It's normal behavior. Hibernate is not generating drop statements.
Hi,
i tested the jpa2dll plugin with the action UPDATE as folllows:
genrate a Entity Person (name)
mvn clean package -> resulting a script with a new table called person and a column called name
added a new attribute age to person
mvn clean package -> resulting a script to modify the table person (add cloumn age...)
added a new attribute firstname to person
mvn clean package -> resulting a script to modify the table person (add cloumn age...)
removed the attribute age from person
mvn clean package -> missing a statement for removing column
It is a bug or it is a normal behaviour? The
Many Thanks