Anyone got any good patterns for making sure tha the database schema is up-to-date (create/update/delete) when a web-app starts?
I'm guessing that a ServletListener or Servlet that loads on startup would execute some code that utilizes Configuration.generateSchemaUpdateScript(), but I just don't have an idea of how that method is used or what the desired procedure is for actually executing those queries. Any chance that Hibernate will include built-in support to do this automatically (say, called "dev-mode")? -Pat ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel
