[hibernate-issues] [Hibernate-JIRA] Commented: (HV-586) Hibernate validator initializes lazy proxies
Michael G (JIRA)
noreply at atlassian.com
Fri May 11 09:53:09 EDT 2012
[ https://hibernate.onjira.com/browse/HV-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46616#comment-46616 ]
Michael G commented on HV-586:
------------------------------
Well, I would say if this collection is not initialized, who should have possibly broken the constraint? So imho there is no need for checking it.
I am going with JPA, I guess there is no extra lazy available.
> Hibernate validator initializes lazy proxies
> --------------------------------------------
>
> Key: HV-586
> URL: https://hibernate.onjira.com/browse/HV-586
> Project: Hibernate Validator
> Issue Type: Bug
> Components: engine
> Affects Versions: 4.2.0.Final
> Environment: CentOs, Glassfish V3
> Reporter: Michael G
> Priority: Critical
>
> I use hibernate validator for detached entities, some of them are not initialized. If they are not initialized imho there is no possibility that they could have been changed so that constraints might be broken. Although hibernate validator goes for them and I get LazyLoadingExceptions.
> Also this is a change to previous versions. Has that been done on purpose?
--
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