Here is a patch that allows dbcp to be compiled under jdk 1.3 and 1.4.
The TesterXXX classes are Lev's noop versions. I implemented working
versions for the DelegatingXXX classes. The new methods are surrounded
by comments.
I modified the build system to copy the src to a build directory and
John!
Good job!
John McNally wrote:
Here is a patch that allows dbcp to be compiled under jdk 1.3 and 1.4.
The TesterXXX classes are Lev's noop versions. I implemented working
versions for the DelegatingXXX classes. The new methods are surrounded
by comments.
I modified the build
On Mon, 18 Mar 2002, Lev Assinovsky wrote:
Date: Mon, 18 Mar 2002 17:02:44 +0300
From: Lev Assinovsky [EMAIL PROTECTED]
Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED]
To: Jakarta Commons Developers List [EMAIL PROTECTED]
Subject: Re: [dbcp] JDBC 3.0 and JDK 1.4
John!
Good
Since JDK 1.4 includes JDBC 3.0
I added all additional functions with a body like:
{
throw new SQLException(Not implemented.);
}
to be able to compile in JDK 1.4.
The following files were modified (in my local box):
./src/java/org/apache/commons/dbcp/DelegatingConnection.java
://webmail.ivillage.com/
-Original Message-
From: Lev Assinovsky
Sent: 3/13/2002 7:45:41 PM
To: [EMAIL PROTECTED]
Subject: [dbcp] JDBC 3.0 and JDK 1.4
Since JDK 1.4 includes JDBC 3.0
I added all additional functions with a body like:
{
throw new SQLException(Not implemented.);
}
to be able
Question: if you added a method
public Savepoint setSavepoint(String name) throws SQLException
how is this going to compile with JSDK 1.3? java.sql.Savepoint was only
added in 1.4
Lev Assinovsky wrote:
Since JDK 1.4 includes JDBC 3.0
I added all additional functions with a body like:
{
otisg wrote:
I think this would be a good thing to have in the interim.
I'd suggest you post the patches here and hopefully somebody with commit
priviledges can apply them.
Maybe it will be better to produce two versions of package
(JDK 1.4- and JDK 1.4), in the similar to Cactus way
://webmail.ivillage.com/
-Original Message-
From: Andrus Adamchik
Sent: 3/13/2002 12:14:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [dbcp] JDBC 3.0 and JDK 1.4
Question: if you added a method
public Savepoint setSavepoint(String name) throws SQLException
how is this going to compile with JSDK 1.3
Hi,
Try reflection to generate wrappers .
It is very trivial to implement since JKD1.3 , and I think it is better to
forget JDK1.2
in the next DBCP version.
otisg wrote:
I think this would be a good thing to have in the interim.
I'd suggest you post the patches here and hopefully
Andrus Adamchik wrote:
Question: if you added a method
public Savepoint setSavepoint(String name) throws SQLException
how is this going to compile with JSDK 1.3? java.sql.Savepoint was only
added in 1.4
Lev Assinovsky wrote:
Since JDK 1.4 includes JDBC 3.0
I added all additional
I attached the classes modified for JSK 1.4/JDBC 3.0
Use it as you want.
--
Lev AssinovskyPeterlink Web
ProgrammerSt. Petersburg, Russia
Tel/Fax: +7 812 3275343 197022 ul.Chapigina 7Á
E-mail: [EMAIL PROTECTED]
dbcp_jdbc3.0.tar.gz
Description: GNU Zip
11 matches
Mail list logo