ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <lmead...@apache.org>
Subject Re: oracle/toplink/sessions/UnitOfWork
Date Wed, 07 Dec 2005 17:29:57 GMT
Yeah, that is a known issue - it is fixed in SVN, but not in the
release...either get 2.1.5, or check it out and build it.

Larry


---------- Forwarded message ----------
From: Juan CaƱadas <jcgb219@tid.es>
Date: Dec 7, 2005 9:15 AM
Subject: oracle/toplink/sessions/UnitOfWork
To: user-java@ibatis.apache.org


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