The constraint violation builder cannot put constraint on a top level map key
-----------------------------------------------------------------------------
Key: BVAL-221
URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-221
Project: Bean Validation
Issue Type: Bug
Components: spec-general
Reporter: Emmanuel Bernard
Fix For: 1.1
>From Logan
This is a minor thing and maybe tunnel-visioned (I don't know much about the other beans-related specs), but if I do something like this in a ConstraintValidator:
{code}
public boolean isValid(Map<String, String> target, ConstraintValidatorContext context) {
context.buildConstraintViolationWithTemplate("oh noes")
.addNode(somekey)
.addConstraintViolation();
return false;
}
{code}
It would be nice if that resulted in a violation at path someobject.mapproperty[somekey] rather than someobject.mapproperty.somekey.
--
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
Problems with OR parenthesis in HQL
-----------------------------------
Key: HHH-2647
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2647
Project: Hibernate3
Issue Type: Bug
Components: query-hql
Affects Versions: 3.2.1
Environment: Hibernate 3.2.1, postgresql 8.2, jboss 5 embedded beta 2
Reporter: Dennis Fleurbaaij
Given the following (part) of a query in HQL (where 1 to 6 are comparisons of different types (=, <=, is null), but irrelevant for the problem posted here ):
AND ( ( 1 AND 2 ) OR ( 3 AND 4 ) OR ( 5 AND 6 ) )
will be balanced to:
and ( ( 1 ) and 2 or 3 and ( 4 ) or 5 and 6 )
--
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
Provide an hibernate validator OSGI service exporter
----------------------------------------------------
Key: HV-570
URL: https://hibernate.onjira.com/browse/HV-570
Project: Hibernate Validator
Issue Type: New Feature
Components: engine
Reporter: Charlie Mordant
Priority: Minor
Hi,
I've created a hibernate validator OSGI service exporter.
Feel free to use it, publish it on central (it will be cool), modify...
You can find it in my github: https://github.com/Tcharl
Regards,
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Expose validated bean via ConstraintValidatorContext (implement BVAL-237)
-------------------------------------------------------------------------
Key: HV-514
URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-514
Project: Hibernate Validator
Issue Type: Improvement
Components: engine
Affects Versions: 4.2.0.Final
Environment: any
Reporter: Vivian Steller
Attachments: export-validated-bean-via-cvc.patch
Allow accessing leafBean & rootBean through ConstraintValidatorContext; this would greatly improve implementing cross-property-validators. Feature is requested for BVAL 1.1, see https://hibernate.onjira.com/browse/BVAL-237
Patch for Hibernate 4.2 included.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira