Hibernate versions: 3.2.0RC1 and 3.1.3
Annotations version: 3.1beta9 and 3.1beta8
Entity Manager version: 3.1beta7 and 3.1beta6
Name and version of the database you are using:Postgres 8.1
Hi,
When I put a validation annotation on a private field of a data class, it does not get validated by hibernate by using application-level validation, and also not the event-based validation. It does however get picked up bij hdb2ddl (schema validation according to (
http://www.hibernate.org/hib_docs/annot ... dator.html) 3.2.)
Can someone tell if this might be a bug or that I'm maybe expecting the wrong thing? BTW, the EJB3 annotations do work on the private fields.
Oh and of course it works on the public getter