And now you are just saying 3-4 lines, couldn't you just show us what
you are doing and we could add that as a integral part of SchemaUpdate (and even SchemaExport i reckon).
/max
Serge Knystautas wrote:
Max Rydahl Andersen wrote:
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?
------------------------------------------------------- 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