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
|