So - just using the "dump sql to the standard output" is not enough for you ? (You can parse that up to an array by just looking for ";"'s)
No it is not. The key is "standard output" is the killer.
Why should my Java code have to fork a separate process, suppply my configuration and connection to this forked process, parse the results... And assuming the web-app is supplying the connection, I may not be able to recreate the connection for a forked process.
That's a lot of code, so you can probably understand why I just copy and paste the 3-4 lines from SchemaUpdate. It's just the metadata API used by the tool keeps swapping in the subminor point releases.
Also, you keep saying SchemaExport while I say SchemaUpdate. Are you planning to merge these?
-- 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