public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC]:  JDBC Driver Type Support
@ 2003-05-16  4:18 Dylan Carlson
  0 siblings, 0 replies; only message in thread
From: Dylan Carlson @ 2003-05-16  4:18 UTC (permalink / raw
  To: gentoo-dev; +Cc: java

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings,

Since incorporating more JDBC support into the tree, I have gotten a few 
inquiries on how we plan to support different driver types.  This email 
will hopefully explain the direction I intend to guide the process 
towards, so that Java developers listening can have an opportunity to 
voice any concerns.

[ BACKGROUND ]

JDBC Types:  

	Type 1:  JDBC-ODBC bridge, plus an ODBC driver 
	(for things like dBase, Access, Excel)
	Type 2:  native API, part-Java driver 
	(rarely used)
	Type 3:  100% Java driver for database middleware
	Type 4:  100% Java driver for direct connections

JDBC Versions:  JDBC 2.0 vs 3.0?

I won't attempt to explain this detail.   JDBC 3.0 is for Java 1.4 and 
later only, and has improvements in pooling, and integration with J2EE.  
It should be noted that the lead author of JDBC 3.0 (Jon Ellis) is also a 
Gentoo developer.  :)


[ IMPLEMENTATION DETAILS ]

1.  Type 4 drivers will be the default for any data source that has Type 4 
drivers available.

2.  Type 1 drivers will be added only when Type 4 drivers are not available 
(as will normally be the case).

3.  I am not expecting to see any support for Type 2 drivers in the tree.  
If they do exist, they will be done as separate packages from any other 
driver type, because of portability issues.

4.  Type 3 drivers are expected to be included if they are available, in 
the same ebuilds that install the Type 4 drivers.   This will mean the 
addition of one local USE flag:   "jdbc-type3".

5.  Setting "jdbc-type3" will ensure that Type 3 drivers will get installed 
(if they exist) instead of Type 4 drivers.   Both cannot be installed at 
the same time, as both drivers would end up in package.env's CLASSPATH -- 
which is not a sane configuration.

6.  JDBC 2.0 drivers will be kept in separate packages from JDBC 3.0 
drivers.  

Questions?  Comments?   

Cheers,
Dylan Carlson

Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x708E165F
Key fingerprint = 3AEA DE38 FE42 15A6 C0E2 730E 3D04 BCC1 708E 165F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+xGaTPQS8wXCOFl8RAgg3AJ45GoLyvEaUFPnlzUuQcJ1dfnoo9gCbBEvI
DRBsk0+dDjpsMJbbMgneMZU=
=p4G8
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-16  4:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-16  4:18 [gentoo-dev] [RFC]: JDBC Driver Type Support Dylan Carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox