Pardon my frustrations, but as per my initial problem, when using the hbm2ddl ant task to create the schema, when I keep hbm2ddl's update="false", but set hibernate.hbm2ddl.auto to either validate or update, it doesn't seem to do anything.
The full DDL is still produced and executed against the database without regard for the fact that I set hibernate.hbm2ddl.auto to validate or update.
This is why I tried to set hbm2ddl update="true", and it worked. However, I am afraid that if hibernate.hbm2ddl.auto doesn't do what it's supposed to do when using hbm2ddl, then anytime Java code that I write to persist and load classes, the hibernate.hbm2ddl.auto setting will continue to do nothing.
Are these fears justified, or is the hibernate.hbm2ddl.auto not supposed to do anything when hbm2ddl is executing?
If you understand the source of my confusion, hopefully you can clear things up for me.
Thanks.
|