-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Application hangs after reaching Configuration().addClass
PostPosted: Wed Sep 01, 2004 3:59 pm 
Newbie

Joined: Wed Sep 01, 2004 3:45 pm
Posts: 1
Hibernate hangs after reaching the Mapping resource for User.hbm.xml below.
System.out.println("Initializing Hibernate");
cfg = new Configuration().addClass(User.class);
System.out.println("Added User.class"); --> Does not reach this line.



Hibernate version: 2.1.6, 9.8.2004

Name and version of the database you are using: Sybase 11.9.2



[9/1/04 15:18:48:120 EDT] 6a868f9 SystemOut O Initializing Hibernate
[9/1/04 15:18:48:160 EDT] 6a868f9 Environment I Hibernate 2.1.6
[9/1/04 15:18:48:210 EDT] 6a868f9 Environment I loaded properties from resource hibernate.properties: {hibernate.connection.username=foo, hibernate.co
nnection.password=bar, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.SybaseDialect, hibernate.connection.url=jd
bc:sybase:Tds:localhost:10000/foo_db, hibernate.connection.driver_class=com.sybase.jdbc2.jdbc.SybDriver}
[9/1/04 15:18:48:210 EDT] 6a868f9 Environment I using CGLIB reflection optimizer
[9/1/04 15:18:48:220 EDT] 6a868f9 Configuration I Mapping resource: com/foo/User.hbm.xml


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.