db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chiah Tong Kiat" <tongkiat.ch...@silicomp.com.sg>
Subject Compilation error in branch OJB_1_0_RELEASE
Date Wed, 08 Jun 2005 01:33:18 GMT
Hi
 
Having the following compilation error
 
[javac] Compiling 574 source files to C:\Codes\db-ojb\target\classes
[javac]
C:\Codes\db-ojb\target\src\org\apache\ojb\broker\accesslayer\SQLCachingS
tatementsForClass.java:92:
prepareStatement(java.sql.Connection,java.lang.String,boolean,boolean,in
t) in org.apache.ojb.broker.accesslayer.StatementsForClassImpl cannot be
applied to (java.sql.Connection,java.lang.String,boolean,boolean)
[javac]                     return prepareStatement(con, deleteSQL,
Query.NOT_SCROLLABLE, true);
[javac]                                ^
[javac]
C:\Codes\db-ojb\target\src\org\apache\ojb\broker\accesslayer\SQLCachingS
tatementsForClass.java:114:
prepareStatement(java.sql.Connection,java.lang.String,boolean,boolean,in
t) in org.apache.ojb.broker.accesslayer.StatementsForClassImpl cannot be
applied to (java.sql.Connection,java.lang.String,boolean,boolean)
[javac]                     return prepareStatement(con, insertSQL,
Query.NOT_SCROLLABLE, true);
[javac]                                ^
[javac]
C:\Codes\db-ojb\target\src\org\apache\ojb\broker\accesslayer\SQLCachingS
tatementsForClass.java:136:
prepareStatement(java.sql.Connection,java.lang.String,boolean,boolean,in
t) in org.apache.ojb.broker.accesslayer.StatementsForClassImpl cannot be
applied to (java.sql.Connection,java.lang.String,boolean,boolean)
[javac]                     return prepareStatement(con, selectByPKSQL,
Query.NOT_SCROLLABLE, true);
[javac]                                ^
[javac]
C:\Codes\db-ojb\target\src\org\apache\ojb\broker\accesslayer\SQLCachingS
tatementsForClass.java:158:
prepareStatement(java.sql.Connection,java.lang.String,boolean,boolean,in
t) in org.apache.ojb.broker.accesslayer.StatementsForClassImpl cannot be
applied to (java.sql.Connection,java.lang.String,boolean,boolean)
[javac]                     return prepareStatement(con, updateSQL,
Query.NOT_SCROLLABLE, true);
[javac]                                ^
[javac] Note: Some input files use or override a deprecated API. [javac]
Note: Recompile with -deprecation for details. [javac] 4 errors
 
 
There is a mis-match in the super class StatementsForClassImpl.
 
Regards
tongkiat
 

Mime
View raw message