ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guido García Bernardo <ggb...@tid.es>
Subject Re: Newbie help [OT]
Date Fri, 15 Apr 2005 08:38:34 GMT
Where is your classes12.jar?  Is it in your classpath?
Are you using "oracle.jdbc.driver.OracleDriver"?

regards
Guido García Bernardo.


KK wrote:

>Hello everyone,
> I want to use iBatis in my application and started researching and
>trying to develop a small application. But I have a problem using
>Oracle 8i as backend with JDBC, I could succesfully compile classes
>and set up configmap and other required xml files after several
>attempts, but now it fails with the following error,
>
>java.sql.SQLException: No suitable driver
>       at java.sql.DriverManager.getConnection(DriverManager.java:532)
>       at java.sql.DriverManager.getConnection(DriverManager.java:171)
>       at com.ibatis.common.jdbc.SimpleDataSource.popConnection(SimpleDataSourc
>e.java:473)
>       at com.ibatis.common.jdbc.SimpleDataSource.getConnection(SimpleDataSourc
>e.java:200)
>       at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.<init>(Jdbc
>Transaction.java:26)
>       at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransactionConfig.newTr
>ansaction(JdbcTransactionConfig.java:32)
>       at com.ibatis.sqlmap.engine.transaction.TransactionManager.begin(Transac
>tionManager.java:35)
>       at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.startTransaction
>(SqlMapExecutorDelegate.java:408)
>       at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.startTransaction(SqlM
>apSessionImpl.java:113)
>       at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.startTransaction(SqlMa
>pClientImpl.java:87)
>       at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.autoStartTransac
>tion(SqlMapExecutorDelegate.java:501)
>       at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(S
>qlMapExecutorDelegate.java:308)
>       at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(S
>qlMapExecutorDelegate.java:297)
>       at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMap
>SessionImpl.java:69)
>       at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapC
>lientImpl.java:46)
>       at ActionTest.main(ActionTest.java:39)
>
>I am using classes12.jar file for connecting to oracle, can someone
>help me with this..
>
>Thanks,
>Kumar.
>
>  
>


-- 
Guido García Bernardo - ggarciab@itdeusto.com
Tfn. +34 983 54 89 08
ITDEUSTO - Valladolid


Mime
View raw message