But - why don't you try to explain WHY you need this copy-pasting, maybe
it's a feature that can be integrated into SchemaExport OR it could provide the motivation for having a more public stabilzied api....so please, tell use more ,)
I gave a pretty complete description, so I'm not sure what more I can say...
Again, this is part of a set of scripts/tools that confirm whether an environment will run the application or not and then report to the sysadmin what the issues are. 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.
Auto-updating a schema is nice, but not really practical for larger projects. Here are some common issues:
1. Hibernate may suggest changes you don't want, e.g., add a FK to enforce a relationship that you don't want/can't because of legacy data.
2. Hibernate normally suggests database-agnostic SQL that you'll want to tailor to your environment.
3. You want to keep a record of schema change scripts between releases.
4. You want to build reverse-schema change scripts.
5. You want to write some data-transformation in addition to the schema transformation SQL.
6. Schema updates are typically only additive, and you may want to add some subtractive schema changes.
Hibernate excels because it will work with an existing database and doesn't try to enforce a monolithic view of what the database should be. This seems pretty straight forward use to me... could you clarify what I need to explain more?
-- Serge Knystautas President Lokitech >>> software . strategy . design >> http://www.lokitech.com p. 301.656.5501 e. [EMAIL PROTECTED]
------------------------------------------------------- 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