ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Si <antoni...@yahoo.com>
Subject question ...
Date Wed, 14 Mar 2007 01:00:37 GMT
Hi,

I am new to iBatis. Does iBatis work for jdk1.6?

I am getting the following error when I use jdk 1.6:

WARN            at
com.ibatis.sqlmap.engine.mapping.result.loader.EnhancedLazyResultLoader$EnhancedLazyResultLoaderImpl.invoke(EnhancedLazyResultLoader.java:113)
WARN            at
com.tctest.domain.Account$$EnhancerByCGLIB$$7baab479.getNumber(<generated>)
WARN            at
com.tctest.IBatisSimpleTestApp.run(IBatisSimpleTestApp.java:93)
WARN            at
com.tc.simulator.container.ApplicationRunner.run(ApplicationRunner.java:43)
WARN            at
java.lang.Thread.run(Thread.java:619)
WARN     Caused by: java.sql.SQLException: No suitable
driver found for jdbc:derby://localhost:1527/testdb
WARN            at
java.sql.DriverManager.getConnection(DriverManager.java:602)
WARN            at
java.sql.DriverManager.getConnection(DriverManager.java:185)
WARN            at
com.ibatis.common.jdbc.SimpleDataSource.popConnection(SimpleDataSource.java:580)
WARN            at
com.ibatis.common.jdbc.SimpleDataSource.getConnection(SimpleDataSource.java:222)
WARN            at
com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.init(JdbcTransaction.java:48)
WARN            at
com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.getConnection(JdbcTransaction.java:89)
WARN            at
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForObject(GeneralStatement.java:104)
WARN            at
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:565)
WARN            at
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:540)
WARN            at
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:106)
WARN            at
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:84)
WARN            at
com.ibatis.sqlmap.engine.mapping.result.loader.ResultLoader.getResult(ResultLoader.java:77)
WARN            at
com.ibatis.sqlmap.engine.mapping.result.loader.EnhancedLazyResultLoader$EnhancedLazyResultLoaderImpl.__tc_wrapped_loadObject(EnhancedLazyResultLoader.java:130)


Thanks.

Antonio.


 
____________________________________________________________________________________
Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

Mime
View raw message