Before I use hibernate,I haven written a datasource connection.Now I want to use that datasource.but I don't konw how to config hibernate.
I know sf.openSession(conn);
When session.close().the connection is close?
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
I'm using hibernate 2.03,when I run demo.bat in hibernate root directory.Some error displayed:
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/cglib/KeyFactory at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:297) at net.sf.hibernate.cfg.Confi