I had four classes each with
Code:
@Id
@GeneratedValue
private long id;
then I decided to change the member name "id" ... did it initially for 2 classes -> ok
started to use the configuration
then realized I should change this name for 2 other classes.
something weird is happening: I have now in the generated tables two columns for the id .. one is named "id" (old name) the other bears the new name (only the old "id" is "generated").
I configured to "create-drop", I stopped the database, stopped the machine ....no way, hibernate keeps generating two columns!
bug or feature ?
thanks