[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4899) Type not supported: org.hibernate.type.TimestampType
Midhun (JIRA)
noreply at atlassian.com
Thu Feb 11 11:46:37 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35538#action_35538 ]
Midhun commented on HHH-4899:
-----------------------------
Hi Adam,
I later found that it was due to a composite key used for one of our tables. Two columns of the table defined the ID column. I changed it temporarily and I am now able to start the application. Envers works fine. Thanks for the help... :)
Any idea why there was this error with composite key? Can this be resolved ?
Thanks,
Midhun
> 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
>
> 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list