Joined: Tue Jun 07, 2011 1:41 am Posts: 1
|
Hi, I was using an old hibernate JAR file while developing my project. It was having some wrong name in the method signature. Instead of executeUpdate it was wrongly spelled as executeUpate. Instead of that the JAR file was working fine. But now i am using the latest JAR file from net which is having the correct method signature but now my code is failing while creating SessionFactory. Can anybody please help me in this if there is any change in hibernate.cfg.xml file which is creating the problem. Please help me resolve this problem. Below is the hibernate.cfg.xml file i am using
<?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration> <session-factory> <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property> <property name="hibernate.connection.url">jdbc:oracle:thin:@localhost:1521:ORCL</property> <property name="hibernate.connection.username">system</property> <property name="hibernate.connection.password">password</property> <property name="hibernate.connection.release_mode">after_transaction</property> <property name="hibernate.connection.pool_size">10</property> <property name="show_sql">true</property> <property name="dialect">org.hibernate.dialect.Oracle9Dialect</property> <property name="hibernate.hbm2ddl.auto">update</property> <!-- Mapping files --> <mapping resource="editorial.hbm.xml"/> </session-factory> </hibernate-configuration>
|
|