Open buehner opened 10 years ago
Hi @buehner , since this only changes the DB itself and it does not affect any other components becuse of the mapping feel free to merge! Thank you!
What does this mean if someone updated an existing SHOGun to use this new mapping?
Will hbm2ddl=UPDATE
work and rename the column? I am unsure about whether we want to merge this.
Oh yes, @marcjansen good point, haven't thought about this. I am also unsure if hbm2ddl=UPDATE will do the stuff for you. Maybe we need a kind of update strategy or a kind of mapping so both column names can work (did not investigate if there is something offering such a mapping)
KEY seems to be a reserved word in SQLServer, so hibernate could not create the schema correctly.
Please review and merge!