christian wrote:
Do it manually, thats what your DBA would do anyway. You can of course try SchemaUpdate, but I would never trust a DB vendor to get a JDBC driver right. SchemaUpdate depends on the quality of the JDBC driver.
Please continue this discussion on the regular Hibernate Tools forum.
Thanks Christian.
Can you tell me if how does hibernate behave if the actual database contains more columns than the mapping file indicates?
For example, in the mapping file, I map 4 attributes of my class.
First I have 4 columns in my table for that class.
What if I use the "alter" command and add an extra column in my table (or any mis-match between the actual database table and the mapping), will hibernate still work (i.e. able to retrieve the java object correctly)?
Thank you.