Does Hibernate work on JDK 1.3? I tried to make it run but I can't. Is there anybody who could help me?
I tried to run the NetworkDemo example. Here is the output:
16:14:28,828 INFO Environment:401 - Hibernate 2.0.1
16:14:28,828 INFO Environment:435 - loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.OracleDialect, hibernate.jdbc.use_streams_for_binary=true, hibernate.jdbc.batch_size=0, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.query.imports=net.sf.hibernate.test, net.sf.hibernate.eg, hibernate.proxool.pool_alias=pool1, hibernate.connection.username=mihai_admin, hibernate.connection.url=jdbc:oracle:thin:@orname:1521:orname, hibernate.show_sql=false, hibernate.connection.password=a, hibernate.statement_cache.size=25, hibernate.connection.pool_size=1}
16:14:28,843 INFO Environment:449 - using java.io streams to persist binary types
16:14:28,843 INFO Environment:450 - using CGLIB reflection optimizer
16:14:28,843 INFO Environment:460 - JVM proxy support: true
16:14:28,859 INFO Configuration:283 - Mapping resource: net/sf/hibernate/eg/Vertex.hbm.xml
16:14:29,390 DEBUG DTDEntityResolver:20 - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
16:14:29,390 DEBUG DTDEntityResolver:29 - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
16:
14:29,578 INFO Binder:176 - Mapping class: net.sf.hibernate.eg.Vertex -> vertex
[color=red]java.lang.ExceptionInInitializerError: java.lang.NullPointerException
at java.util.HashMap.put(HashMap.java:327)
at net.sf.hibernate.type.TypeFactory.<clinit>(TypeFactory.java:50)
at net.sf.hibernate.util.ReflectHelper.reflectedPropertyType(ReflectHelper.java:255)
at net.sf.hibernate.mapping.Value.setTypeByReflection(Value.java:91)
at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:219)
at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1076)
at net.sf.hibernate.cfg.Configuration.add(Configuration.java:230)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:252)
at net.sf.hibernate.cfg.Configuration.addClass(Configuration.java:286)
at net.sf.hibernate.eg.NetworkDemo.main(NetworkDemo.java:31)[/color]
Exception in thread "main" Process terminated with exit code 1
Thank you.