Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Michael Maraya" <mmaraya AT iname.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: [JDBC] Subclassing java.sql.* classes by product
  • Date: Fri, 29 Sep 2000 12:05:31 -0400


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

Just my 2cp.



  • [JDBC] Subclassing java.sql.* classes by product, Michael Maraya, 09/29/2000

Archive powered by MHonArc 2.6.24.

Top of Page