[JDBC] Subclassing java.sql.* classes by product

Michael Maraya mmaraya at iname.com
Fri Sep 29 12:05:31 EDT 2000

I was wondering if it wouldn't be cleaner to subclass java.sql classes
like DatabaseMetaData into DatabaseMetaDataMsSql65,
DatabaseMetaDataMsSql70, DatabaseMetaDataSybAse11, etc. keeping common
functions in DatabaseMetaData and overriding the divergent ones in the
subclasses.  The client could specify the target RDBMS in the database url
and the appropriate subclasses could be loaded at startup.  What do you

Just my 2cp.

More information about the FreeTDS mailing list