| 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 |
Table -2 : To incorporate Gerome's suggestions of build using 1.6 and compatible with 1.5 in (3)
| 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 :