[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4899?page=c...
]
Tim Uy commented on HHH-4899:
-----------------------------
Adam,
I am see the same stack trace and I'm using 3.3.1 with MS sql server 2005.
org.hibernate.HibernateException: could not init listeners
at
org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:205)
at
org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:1338)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
at
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
Truncated. see log file for complete stacktrace
org.hibernate.MappingException: Type not supported: org.hibernate.type.TimestampType
at
org.hibernate.envers.configuration.metadata.IdMetadataGenerator.addIdProperties(IdMetadataGenerator.java:71)
at
org.hibernate.envers.configuration.metadata.IdMetadataGenerator.addId(IdMetadataGenerator.java:107)
at
org.hibernate.envers.configuration.metadata.AuditMetadataGenerator.generateFirstPass(AuditMetadataGenerator.j
ava:380)
at
org.hibernate.envers.configuration.EntitiesConfigurator.configure(EntitiesConfigurator.java:102)
at
org.hibernate.envers.configuration.AuditConfiguration.<init>(AuditConfiguration.java:86)
Truncated. see log file for complete stacktrace
Unfortunately, I can't upgrade to 3.5 due to company policy. Is there a way I can get
an envers patch for this issue that works with 3.3.1?
Thanks,
Tim
Type not supported: org.hibernate.type.TimestampType
----------------------------------------------------
Key: HHH-4899
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4899
Project: Hibernate Core
Issue Type: Bug
Components: envers
Environment: Hibernate Version 3.3.1 GA on Oracle 10g.
Reporter: Midhun
Assignee: Adam Warski
Fix For: 3.5.0-CR-2
I have included the latest version of Envers (1.2.2) into our Hibernate & Spring
application. On Server(Tomcat) startup, the following error occurs:
Caused by: org.hibernate.MappingException: Type not supported:
org.hibernate.type.TimestampType
at
org.hibernate.envers.configuration.metadata.IdMetadataGenerator.addIdProperties(IdMetadataGenerator.java:71)
at
org.hibernate.envers.configuration.metadata.IdMetadataGenerator.addId(IdMetadataGenerator.java:107)
at
org.hibernate.envers.configuration.metadata.AuditMetadataGenerator.generateFirstPass(AuditMetadataGenerator.java:380)
at
org.hibernate.envers.configuration.EntitiesConfigurator.configure(EntitiesConfigurator.java:102)
at
org.hibernate.envers.configuration.AuditConfiguration.<init>(AuditConfiguration.java:86)
at
org.hibernate.envers.configuration.AuditConfiguration.getFor(AuditConfiguration.java:99)
at
org.hibernate.envers.event.AuditEventListener.initialize(AuditEventListener.java:315)
at org.hibernate.event.EventListeners$1.processListener(EventListeners.java:198)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira