ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "harinder nandyala" <harind...@hotmail.com>
Subject Can I use Hibernate 3.x with latest iBatis DAO?
Date Tue, 02 May 2006 00:17:58 GMT

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



Mime
View raw message