hiii,
now i am using hibernate3 package.
now i have a exception on server like this
No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/D:/apache-tomcat-5.5.12/webapps/quickstart/WEB-INF/lib/ehcache-0.7.jar!/ehcache-failsafe.xml
and when i used select query then data is retieved. but in case of inserting data no error is there but data doesnot save in table.
the code i writing is
Session session = HibernateUtil.currentSession();
Contact princess =new Contact();
Transaction tx = session.beginTransaction();
princess.setFirstName("Princess");
princess.setLastName("Elizabeth");
princess.setEmail("
[email protected]");
session.saveOrUpdate(princess);
tx.commit();
session.close();
any suggestion......... plz