[hibernate-issues] [Hibernate-JIRA] Created: (HV-535) Validator sees all nulls on proxy object when proxied entity class has constraint annotations applied to fields instead of methods

Jesse Hutton (JIRA) noreply at atlassian.com
Mon Dec 5 15:16:23 EST 2011


Validator sees all nulls on proxy object when proxied entity class has constraint annotations applied to fields instead of methods
----------------------------------------------------------------------------------------------------------------------------------

                 Key: HV-535
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-535
             Project: Hibernate Validator
          Issue Type: Bug
    Affects Versions: 4.2.0.Final, 4.1.0.Final
         Environment: RHEL 6.1
            Reporter: Jesse Hutton


When hibernate creates a proxy of an entity relation (eg. when FetchType.LAZY is specified on a @ManyToOne relationship) and the Bean Validation annotations have been applied on the proxied class to fields instead of methods, the validator can't see any values. All it sees are nulls.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list