I appreciate all your responses, but I don't think we're getting very far.

Well, i think we have found that the feature you want is usable - and
as I see it already in there (as you can get the sql string[]).
Your first posting said you were doing something special, and it was that "special" think I would like to know what was...now I know (you want to get SQL String[]'s instead of getting them executed or dumped to standard out)


I started this thread because between 2.0.0 to 2.0.1 to 2.0.2 the
generateSchemaUpdateScript (the key code in SchemaUpdate) is changing signatures. In 2.0.1 it changed to JdbcDatabaseInfo, and now it's DatabaseMetadata (an unfortunate name since it's just a capitalization difference from java.sql.DatabaseMetaData).

I've just went into the CVS log and I find it hard to believe that it
changed BACK to JdbcDataBaseInfo in 2.0.1 since it was included in 2.0, but deleted in 2.0.1.


See http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/hibernate/Hibernate2/src/net/sf/hibernate/tool/hbm2ddl/

Are you the CVS user 'oneovthafew'? This is the person making all the
mods to this code, so he/she would be able to explain the changes and plans.

No, i'm "maxcsaucdk" the other dude messing around with the commits ;) "oneovthafew" is Gavin King.

In the change comments (which is also available from the viewcvs above), you can see that JdbcDataBaseInfo was deleted Mon Jun 16 03:34:33 2003 UTC (2 months, 1 week ago) and that it never got a tag for 2.0.1 nor 2.0.2 - hence it was only included in 2.0.0 (and before)

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/hibernate/Hibernate2/src/net/sf/hibernate/tool/hbm2ddl/Attic/JdbcDatabaseInfo.java


Well - it might not be a solid barrier, but whatever is part of the generated public javadoc is the public api ...or even more so, what is NOT part of the generated public javadoc is not part of the public api ;)


I'm not sure what you mean. Configuration is part of the published javadocs. It's method generateSchemaUpdateScript is in the published javadoc. This method's signature depends on classes in the tool package that are not published, and this method's signature keeps changing.

As I see it in the logs it has only changed once - not back and forth.


I've also just downloaded version 2.0, 2.0.1 and 2.0.2 and that they reflect what I see in the cvs logs - in 2.0 it was JdbcDatabaseInfo in
2.0.1 and 2.0.2 it is DatabaseMetaData - so it has only changed once.



So are you saying the code we're discussing is in the public api or not?

I would say it is in the public API and that for some reason "oneovthafew" meant that DatabaseMetadata was a better name than JdbcDatabaseInfo. He can answer why, I cannot - but i can just say that
it is a very minor change that only happend once ;)


So, I can only state that I think it has stabilized and that we only change public API's (or any API for that matter) for a reason and with thought. (heck - some cool features are being "held back" because it will change some public api's)

/max



-------------------------------------------------------
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

Reply via email to