Hi Alexey,

If it is the 7.3 driver, 1.3.1 is the latest possible JDK, as all 
newer versions bring JDBC 3.0 with them which is in the 7.4 
version. Thus, compiling any JDBC 2.0 driver will stop at the
first unimplemented JDBC 3.0 interface method.

As we use the JDK 1.4 to compile the 7.4 driver source here, this should 
normally work. Please look for some oddities (such as an already compiled driver, or
some classes from an older JDK) in your class path.

A command line

  javac -d foo -sourcepath . com/sap/dbtech/jdbc/DriverSAPDB.java

should work and place some files under the 'foo' directory. (For compiling
all classes, you have of course to provide the rest of the sources to the 
compiler).

The source currently available at http://www.sapdb.org should be the one
for the 3.0 version of JDBC driver. If you want anyway dig into the sources
I encorage you to use the newest version of them.

Regards
Alexander Schr�der
SAP Labs Berlin

> -----Original Message-----
> From: Alexey Ryumin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 27, 2002 2:47 PM
> To: [EMAIL PROTECTED]
> Subject: Can't compile JDBC driver
> 
> 
> Hello.
> 
> Java 2 SDK SE 1.4.1, Win NT 4.0
> Should I use the SDK 1.1.x to compile it? Which version?
> 
> The errors are:
> com/sap/dbtech/jdbc/StatementSapDB.java:29: 
> com.sap.dbtech.jdbc.StatementSapDB should be declared 
> abstract; it does not define getMoreResults(int) in 
> com.sap.dbtech.jdbc.StatementSapDB
> public class StatementSapDB
>        ^
> com/sap/dbtech/jdbc/CallableStatementSapDB.java:35: 
> com.sap.dbtech.jdbc.Callable StatementSapDB should be 
> declared abstract; it does not define 
> setURL(int,java.net.URL) in com.sap.dbtech.jdbc.CallableStatementSapDB
> public class CallableStatementSapDB
>        ^
> com/sap/dbtech/jdbc/ConnectionSapDB.java:37: 
> com.sap.dbtech.jdbc.ConnectionSapDB should be declared 
> abstract; it does not define setHoldability(int) in 
> com.sap.dbtech.jdbc.ConnectionSapDB
> public class ConnectionSapDB implements java.sql.Connection {
>        ^
> com/sap/dbtech/jdbc/ResultSetSapDB.java:37: 
> com.sap.dbtech.jdbc.ResultSetSapDB should be declared 
> abstract; it does not define getURL(int) in 
> com.sap.dbtech.jdbc.ResultSetSapDB
> public class ResultSetSapDB
>        ^
> com/sap/dbtech/jdbc/DatabaseMetaDataSapDB.java:26: 
> com.sap.dbtech.jdbc.DatabaseMetaDataSapDB should be declared 
> abstract; it does not define supportsSavepoints() in 
> com.sap.dbtech.jdbc.DatabaseMetaDataSapDB
> public class DatabaseMetaDataSapDB
>        ^
> com/sap/dbtech/jdbc/MemoryResultSetSapDB.java:32: 
> com.sap.dbtech.jdbc.MemoryResultSetSapDB should be declared 
> abstract; it does not define getURL(int) in 
> com.sap.dbtech.jdbc.MemoryResultSetSapDB
> public class MemoryResultSetSapDB
>        ^
> .\com\sap\dbtech\jdbc\trace\Connection.java:7: 
> com.sap.dbtech.jdbc.trace.Connection should be declared 
> abstract; it does not define setHoldability(int) in 
> com.sap.dbtech.jdbc.trace.Connection
> public class Connection implements java.sql.Connection
>        ^
> .\com\sap\dbtech\jdbc\translators\GetvalLob.java:13: 
> com.sap.dbtech.jdbc.translators.GetvalLob should be declared 
> abstract; it does not define setString(long,java.lang.String) 
> in com.sap.dbtech.jdbc.translators.GetvalLob
> class GetvalLob
> ^
> .\com\sap\dbtech\jdbc\trace\DatabaseMetaData.java:7: 
> com.sap.dbtech.jdbc.trace.DatabaseMetaData should be declared 
> abstract; it does not define supportsSavepoints() in 
> com.sap.dbtech.jdbc.trace.DatabaseMetaData
> public class DatabaseMetaData implements java.sql.DatabaseMetaData
>        ^
> .\com\sap\dbtech\jdbc\trace\Statement.java:7: 
> com.sap.dbtech.jdbc.trace.Statement should be declared 
> abstract; it does not define getMoreResults(int) in 
> com.sap.dbtech.jdbc.trace.Statement
> public class Statement implements java.sql.Statement
>        ^
> .\com\sap\dbtech\jdbc\trace\PreparedStatement.java:7: 
> com.sap.dbtech.jdbc.trace.PreparedStatement should be 
> declared abstract; it does not define getMoreResults(int) in 
> com.sap.dbtech.jdbc.trace.PreparedStatement
> public class PreparedStatement implements java.sql.PreparedStatement
>        ^
> .\com\sap\dbtech\jdbc\trace\CallableStatement.java:7: 
> com.sap.dbtech.jdbc.trace.CallableStatement should be 
> declared abstract; it does not define getMoreResults(int) in 
> com.sap.dbtech.jdbc.trace.CallableStatement
> public class CallableStatement implements java.sql.CallableStatement
>        ^
> .\com\sap\dbtech\jdbc\translators\GetvalUnicodeClob.java:15: 
> com.sap.dbtech.jdbc.translators.GetvalUnicodeClob should be 
> declared abstract; it does not define 
> setString(long,java.lang.String) in 
> com.sap.dbtech.jdbc.translators.GetvalUnicodeClob
> public class GetvalUnicodeClob
>        ^
> .\com\sap\dbtech\jdbc\trace\ResultSet.java:7: 
> com.sap.dbtech.jdbc.trace.ResultSet should be declared 
> abstract; it does not define getURL(int) in 
> com.sap.dbtech.jdbc.trace.ResultSet
> public class ResultSet implements java.sql.ResultSet
>        ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -deprecation for details.
> 14 errors
> 
> WBR
> Alexey Ryumin
> 
> 
> _______________________________________________
> sapdb.general mailing list
> [EMAIL PROTECTED]
> http://listserv.sap.com/mailman/listinfo/sapdb.general
> 
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to