[Hibernate-JIRA] Created: (HHH-4899) Type not supported: org.hibernate.type.TimestampType
by Midhun (JIRA)
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
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
14 years, 9 months
[Hibernate-JIRA] Created: (HV-288) The validator doesn't validate correctly groups composing a group sequence
by Igor Leboroni (JIRA)
The validator doesn't validate correctly groups composing a group sequence
--------------------------------------------------------------------------
Key: HV-288
URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-288
Project: Hibernate Validator
Issue Type: Bug
Components: engine
Affects Versions: 4.0.2.GA
Environment: Sun JVM - 1.6
Reporter: Igor Leboroni
Assignee: Hardy Ferentschik
I have the following class.
{code}
public class Try {
@NotNull(groups=BaseComponent.class)
private int field1;
@NotNull(groups=Component.class)
private int field2;
@NotNull(groups=OtherComponent.class)
private int field3;
public interface BaseComponent {}
public interface Component extends BaseComponent{}
public interface OtherComponent {}
@GroupSequence({Component.class, OtherComponent.class})
public interface GlobalCheck {}
}
{code}
Invoking the validation on the group GlobalCheck results in the check of the NotNull constraint on field2 and field3 (if the field2 validation is passed). The NotNull field1's constraint isn't evaluated. In fact every constraint that belongs to a group parent of one of the groups composing the group sequence isn't evaluated at all.
I think the problem is in the {{org.hibernate.validator.engine.ValidatorImpl validateInContext(U value, GlobalExecutionContext<T> context, GroupChain groupChain, PathImpl path)}} method, when group sequences are evaluated.
--
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
14 years, 10 months