• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate

 
sumi jain
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new in Hibernate. I am trying to execute quickstart prg.
i m getting some problem, i m not able to find out, can u plz help me.
while executing i m getting error

Mar 30, 2005 2:02:30 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: Hibernate 2.1.8
Mar 30, 2005 2:02:30 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: loaded properties from resource hibernate.properties: {hibernate.connectio
n.driver_class=org.hsqldb.jdbcDriver, hibernate.cglib.use_reflection_optimizer=t
rue, hibernate.cache.provider_class=net.sf.hibernate.cache.EhCacheProvider, hibe
rnate.cache.use_query_cache=true, hibernate.max_fetch_depth=1, hibernate.dialect
=net.sf.hibernate.dialect.HSQLDialect, hibernate.jdbc.use_streams_for_binary=tru
e, hibernate.jdbc.batch_size=0, hibernate.query.substitutions=true 1, false 0, y
es 'Y', no 'N', hibernate.proxool.pool_alias=pool1, hibernate.connection.usernam
e=sa, hibernate.cache.region_prefix=hibernate.test, hibernate.connection.url=jdb
c:hsqldb:., hibernate.connection.password=, hibernate.jdbc.batch_versioned_data=
true, hibernate.connection.pool_size=1}
Mar 30, 2005 2:02:31 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: using java.io streams to persist binary types
Mar 30, 2005 2:02:31 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: using CGLIB reflection optimizer
Mar 30, 2005 2:02:31 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
Mar 30, 2005 2:02:31 PM net.sf.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
Mar 30, 2005 2:02:31 PM net.sf.hibernate.cfg.Configuration getConfigurationInput
Stream
INFO: Configuration resource: /hibernate.cfg.xml
Mar 30, 2005 2:02:34 PM net.sf.hibernate.cfg.Configuration addResource
INFO: Mapping resource: Cat.hbm.xml

in browser it is showing......

java.lang.ExceptionInInitializerError
quickstart.HibernateUtil.<clinit>(HibernateUtil.java:17)
quickstart.CatS.doGet(CatS.java:18)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic