DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29454>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29454 No compile under J2SDK 1.3 Summary: No compile under J2SDK 1.3 Product: Commons Version: 1.2 Final Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Dbcp AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi: I tried to compile the sources using J2SDK 1.3.1 and it does not work. :-( In the sources the commons DBCP is using a class (java.sql.SavePoint) released in 1.4: java:compile: [echo] Compiling to /commons-dbcp-1.2/target/classes [javac] Compiling 39 source files to /commons-dbcp-1.2/target/classes /commons-dbcp-1.2/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java:387: cannot resolve symbol symbol : class Savepoint location: package sql public java.sql.Savepoint setSavepoint() throws SQLException { ^ Looking in the javadocs of java 1.3 I cannot found this class and in Java API docs 1.4.2 show that it was introduced since 1.4: http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Savepoint.html No where in the documentation of DBCP defines the minimum java version to be used. But since there is JDBC 2.0 I thought java 1.3 can compile the sources. I see a problem when some packages as Apache OJB using java 1.3 as the minimum version will use it. BTW, commons-pool can be compiled with java 1.3 Please at least update the commons-dbcp site with the minimum java version to be used. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
