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"?

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
>       at com.ibatis.common.jdbc.SimpleDataSource.getConnection(SimpleDataSourc
>       at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.<init>(Jdbc
>       at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransactionConfig.newTr
>       at com.ibatis.sqlmap.engine.transaction.TransactionManager.begin(Transac
>       at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.startTransaction
>       at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.startTransaction(SqlM
>       at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.startTransaction(SqlMa
>       at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.autoStartTransac
>       at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(S
>       at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(S
>       at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMap
>       at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapC
>       at ActionTest.main(ActionTest.java:39)
>I am using classes12.jar file for connecting to oracle, can someone
>help me with this..

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

View raw message