[hibernate-dev] [BVAL-RI] Issue in MetaConstraint constructor

Hardy Ferentschik hibernate at ferentschik.de
Tue Feb 24 08:55:10 EST 2009


On Tue, 24 Feb 2009 14:49:59 +0100, Alaa Mohsen <alaa.mohsen at egyptdc.com>  
wrote:

> Hello guys,
>      We faced a problem with in-house constraints that were used to  
> annotate
> classes (Target = ElementType.TYPE). When we debugged a little, we found  
> out
> that the MetaConstraint constrictor that takes Type t sets the element  
> type
> as ElementType.FIELD. I created issue
> HV-123<http://opensource.atlassian.com/projects/hibernate/browse/HV-123>for
> that, and attached a patch.

Found the same bug today while working on re-defining the default group  
sequence. It's fixed now, just have to check it in.
Thanks for your help.

--Hardy





More information about the hibernate-dev mailing list