ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan CaƱadas <jcgb...@tid.es>
Subject oracle/toplink/sessions/UnitOfWork
Date Wed, 07 Dec 2005 16:15:29 GMT
Hello...

 I'm trying to implement DAO with ibatis and Oracle...
i'm using ibatis-dao-2.jar, release 2.1.6 - Nov 5, 2005, downloaded from
http://opensource2.atlassian.com/confluence/oss/pages/viewpageattachments.action?pageId=561
but it raises the error:

Exception in thread "main" java.lang.NoClassDefFoundError: 
oracle/toplink/sessions/UnitOfWork
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at 
com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.class$(XmlDaoManagerBuilder.java:69)
    at 
com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.<init>(XmlDaoManagerBuilder.java:75)
    at 
com.ibatis.dao.client.DaoManagerBuilder.buildDaoManager(DaoManagerBuilder.java:59)
    at es.xxx.dao.DaoConfig.<clinit>(DaoConfig.java:24)
    at es.xxx.dao.BaseService.<init>(BaseService.java:18)
    at es.xxx.comun.ComunService.<init>(ComunService.java:24)
    at es.xxx.comun.ComunService.getInstance(ComunService.java:34)
    at es.xxx.Prueba.main(Prueba.java:37)

someone can help me? what is wrong?
the exception comes from:

 public XmlDaoManagerBuilder() {
    typeAliases.put("EXTERNAL", 
ExternalDaoTransactionManager.class.getName());
    typeAliases.put("HIBERNATE", 
HibernateDaoTransactionManager.class.getName());
    typeAliases.put("JDBC", JdbcDaoTransactionManager.class.getName());
    typeAliases.put("JTA", JtaDaoTransactionManager.class.getName());
    typeAliases.put("OJB", OjbBrokerTransactionManager.class.getName());
    typeAliases.put("SQLMAP", SqlMapDaoTransactionManager.class.getName());
    typeAliases.put("TOPLINK", 
ToplinkDaoTransactionManager.class.getName());
  }

thanks...

Mime
View raw message