Table -1 : Proposed JDBC 3.0 & 4.0 support details : (including Bill's requirement of having optional build using 1.6 in (2) )

S No Build JDK classes compiled binary dependency (staged) runtime supported versions of jdbc Description
1 1.5 jdbc 3.0 impl jdbc 4.0 impl 1.5, 1.6 JDK 1.5->JDBC 3.0 JDK 1.6->JDBC 4.0 default behavior if build-jdk is 1.5
2 1.5, 1.6 jdbc 3.0 impl and jdbc 4.0 impl   1.5, 1.6 JDK 1.5->JDBC 3.0 JDK 1.6->JDBC 4.0 1) to build 4.0 classes using jdk1.6, user need to a) set java to jdk1.6 b) glassfish/jdbcra> maven build-jdbc-4.0
3 1.6 jdbc 4.0 impl   1.6 JDK 1.6 -> JDBC 4.0 default behavior if build-jdk is 1.6 3.0impl classes will not be build, not be included in glassfish

Jspwiki style: sortable

) Binary dependency on jdbc-4.0-impl can be removed by having jdk1.5 build with jdbc-40-api.jar in javac - "bootclasspath". Need input from Lance

Table -2 : To incorporate Gerome's suggestions of build using 1.6 and compatible with 1.5 in (3)


Jspwiki style: 1

sortable

S No Build JDK classes compiled binary dependency (staged) runtime supported versions of jdbc Description
1 1.5 jdbc 3.0 impl jdbc 4.0 impl 1.5, 1.6 JDK 1.5->JDBC 3.0 JDK 1.6->JDBC 4.0 default behavior if build-jdk is 1.5
2 1.5, 1.6 jdbc 3.0 impl and jdbc 4.0 impl   1.5, 1.6 JDK 1.5->JDBC 3.0 JDK 1.6->JDBC 4.0 1) to build 4.0 impl classes using jdk1.6, user need to a) set java to jdk1.6 b) glassfish/jdbcra> maven build-jdbc-4.0
3 1.6 jdbc 4.0 impl

jdbc 3.0 impl

1.5

,1.6

JDK 1.5->JDBC 3.0

JDK 1.6 ->JDBC 4.0
default behavior if build-jdk is 1.6

%%
%%

Comments :