Hi
Can someone please help me out in this error: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.DynamicMapEntityTuplizer]
I have loaded all required Jar files on Oracle 11g JVM (it is where my test program is run). I am unable to go beyond this error.
Thanks in advance. Ram ---------------------------------------------------- [list]10-06@16:27:40 Version [INFO] Hibernate Annotations 3.4.0.GA 10-06@16:27:41 Environment [INFO] Hibernate 3.3.2.GA 10-06@16:27:41 Environment [WARN] could not copy system properties, system properties will be ignored 10-06@16:27:46 Version [INFO] Hibernate Commons Annotations 3.1.0.GA 10-06@16:27:49 Configuration [INFO] Configured SessionFactory: null 10-06@16:27:49 Configuration [DEBUG] properties: {connection.username=cramer, connection.url=jdbc:oracle:thin:@169.245.7.19:1521:cramerr, hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, dialect=org.hibernate.dialect.Oracle10gDialect, max_fetch_depth=2, connection.driver_class=oracle.jdbc.driver.OracleDriver, hibernate.max_fetch_depth=2, hibernate.dialect=org.hibernate.dialect.Oracle10gDialect, connection.password=cramer, hibernate.connection.username=cramer, myeclipse.connection.profile=CramerPool, hibernate.connection.url=jdbc:oracle:thin:@169.245.7.19:1521:cramerr, hibernate.connection.password=cramer, hibernate.bytecode.use_reflection_optimizer=false, hibernate.myeclipse.connection.profile=CramerPool}
10-06@16:27:49 AnnotationConfiguration [DEBUG] Validator not present in classpath, ignoring event listener registration 10-06@16:27:49 HibernateSearchEventListenerRegister [DEBUG] Search not present in classpath, ignoring event listener registration. 10-06@16:27:49 HibernateSearchEventListenerRegister [INFO] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. 10-06@16:27:49 Configuration [DEBUG] Preparing to build session factory with filters : {} 10-06@16:27:49 AnnotationConfiguration [DEBUG] Execute first pass mapping processing 10-06@16:27:52 AnnotationConfiguration [DEBUG] Process hbm files 10-06@16:27:52 AnnotationConfiguration [DEBUG] Process annotated classes 10-06@16:27:52 AnnotationBinder [INFO] Binding entity from annotated class: com.caser.cramer.data.domain.db.Project 10-06@16:27:54 EntityBinder [DEBUG] Import with entity name Project 10-06@16:27:54 EntityBinder [INFO] Bind entity com.caser.cramer.data.domain.db.Project on table PROJECT 10-06@16:27:54 AnnotationBinder [DEBUG] Processing com.caser.cramer.data.domain.db.Project property annotation 10-06@16:27:55 AnnotationBinder [DEBUG] Processing annotations of com.caser.cramer.data.domain.db.Project.projectid 10-06@16:27:55 Ejb3Column [DEBUG] Binding column PROJECTID. Unique true. Nullable false. 10-06@16:27:55 AnnotationBinder [DEBUG] projectid is an id 10-06@16:27:55 AnnotationBinder [DEBUG] Add generic generator with name: generator 10-06@16:27:55 SimpleValueBinder [DEBUG] building SimpleValue for projectid 10-06@16:27:56 PropertyBinder [DEBUG] Building property projectid 10-06@16:28:00 Configuration [DEBUG] resolving reference to class: com.caser.cramer.data.domain.db.ProjecttypeM 10-06@16:28:00 Configuration [DEBUG] resolving reference to class: com.caser.cramer.data.domain.db.Project
10-06@16:28:05 SessionFactoryImpl [INFO] building session factory
10-06@16:28:05 SessionFactoryImpl [DEBUG] Session factory constructed with filter configurations : {}
10-06@16:28:05 SessionFactoryImpl [DEBUG] instantiating session factory with properties: {connection.username=cramer, connection.url=jdbc:oracle:thin:@169.245.7.19:1521:cramerr, hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, dialect=org.hibernate.dialect.Oracle10gDialect, connection.driver_class=oracle.jdbc.driver.OracleDriver, max_fetch_depth=2, hibernate.dialect=org.hibernate.dialect.Oracle10gDialect, hibernate.max_fetch_depth=2, connection.password=cramer, hibernate.connection.username=cramer, myeclipse.connection.profile=CramerPool, hibernate.connection.url=jdbc:oracle:thin:@169.245.7.19:1521:cramerr, hibernate.bytecode.use_reflection_optimizer=false, hibernate.connection.password=cramer, hibernate.myeclipse.connection.profile=CramerPool}
10-06@16:28:07 HibernateUtil [FATAL] Initial SessionFactory creation failed. org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.DynamicMapEntityTuplizer]
at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:110)
at org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTuplizer(EntityTuplizerFactory.java:135)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:69)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:323)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:456)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:131)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:267)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
at com.caser.cramer.data.dao.HibernateUtil.<clinit>(HibernateUtil.java:126)
at com.caser.cramer.data.dao.HibernateDao.findByPK(HibernateDao.java:37)
at com.caser.cramer.data.dao.HibernateDao.get(HibernateDao.java:29)
at com.caser.cramer.test.TempUnitTest.getJavaVersion(TempUnitTest.java:22)
Caused by: java.lang.NullPointerException
at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:107)
... 13 more
java.lang.NoClassDefFoundError
at com.caser.cramer.data.dao.HibernateDao.findByPK(HibernateDao.java:48)
at com.caser.cramer.data.dao.HibernateDao.get(HibernateDao.java:29)
at com.caser.cramer.test.TempUnitTest.getJavaVersion(TempUnitTest.java:22)
[/list]
|