ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lamey <cla...@localmatters.com>
Subject Re: Can I use Hibernate 3.x with latest iBatis DAO?
Date Tue, 02 May 2006 02:33:51 GMT

The one and only time I've used Hibernate, I think I saw that message
when 3.x code resolved to a 2.x library.  Is there a 2.x Hibernate
library in your CLASSPATH somewhere before the 3.x library?  If you're
using JBoss, there's a 2.x hibernate deployer by default in

Once the class is resovled, I have no idea if what you're trying to do
will work but if it doesn't you'll probably get a different error.


On Tue, 2006-05-02 at 00:17 +0000, harinder nandyala wrote:
> When I use Hibernate with Latest ibatis DAO I get this error:
> java.lang.NoClassDefFoundError: net/sf/hibernate/cfg/Configuration
> Can I use this version of Hibernate?
> Here is a part of daomap.xml file:
> ******************
> <context id="hibernatemap">
> 		<transactionManager type="HIBERNATE">
> 		<property name="JDBC.Driver" value="com.ibm.db2.jcc.DB2Driver"/>
> 			<property name="hibernate.dialect" 
> value="org.hibernate.dialect.DB2Dialect"/>
> 			<property name="hibernate.connection.driver_class" 
> value="com.ibm.db2.jcc.DB2Driver"/>
> 			<property name="hibernate.connection.datasource" value="jdbc/SAMPLE"/>
> 			<property name="class.1" value="com.sample.contact.Contact" />
> 		</transactionManager>
> 		<dao interface="com.sample.contact.dao.ContactDAO"
> 			implementation="com.sample.contact.dao.hibernate.HibernateContactDAO" />
> 	</context>
> ******************
> Any help is appreciated. Thank you,
> "The more you strive for humanity, the more civilized you become" -ASHA
> Harinder Nandyala
> http://www.ashakiran.org

View raw message