[
http://opensource.atlassian.com/projects/hibernate/browse/HV-482?page=com...
]
Tim Canavan edited comment on HV-482 at 6/9/11 3:49 PM:
--------------------------------------------------------
This is a good point about the proxy not implementing the interface.I will test it with
JBoss to see if JBoss behaves differently and post a question to Weblogic/Oracle support
about why the proxy is generated in such a fashion. I will post again once I have the
answers to the above questions.
Thanks for the help.
was (Author: tcanavan):
This is a good point about the proxy not implementing the interface.I will test it
with JBoss to see if JBoss behaves differently and post a question to Weblogic/Oracle
support about why the proxy is generated in such s fashion. I will post again once I have
the answers to the above questions.
Thanks for the help.
Weblogic ConstraintDeclarationException
----------------------------------------
Key: HV-482
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-482
Project: Hibernate Validator
Issue Type: Bug
Affects Versions: 4.2.0.Beta2
Environment: Weblogic 10.3
Reporter: Tim Canavan
Attachments: computeclasshierarchy.JPG, debuginterceptor.JPG,
debuginterceptor1.JPG
After upgrading to HV beta2 and changing all our validations to be at the interface
level
we get the constraint declaration exception
Caused by: javax.validation.ConstraintDeclarationException: Only the root method of an
overridden method in an inheritance hierarchy may be annotated with parameter constraints.
The following method itself has no parameter constraints but it is not defined on a
sub-type of class
Under OpenEJB which our unit tests use everything works fine.
Is there any code that HV could use that would allow it to understand these proxies or
would an option be available
to turn the check off.
--
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