The SchemaUpdate tool as is does not work in this environment. I need to SQL statements that Hibernate suggests could get the database to a stable environment.
Maybe I'm missing something, but can't you just do something like this:
java -cp... net.sf.hibernate.tool.hbm2ddl.SchemaExport --text --format --output=update.sql *.hbm.xml
to write the SQL statements to a file such as "update.sql"? You could do this automatically in your deployment-checking script, then check to see if the SQL file is non-empty. (If it's empty, presumably the database is exactly the way Hibernate expects it to be.)
I haven't actually tried this yet, but the documentation says that it *should* work. :-) <http://hibernate.bluemars.net/hib_docs/reference/html/toolsetguide.html#toolsetguide-s1>
-- Laura
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel