0 Replies Latest reply on Jul 28, 2008 11:07 PM by jnusaira

    Performing Custom Validations Against Itself

    jnusaira

      hey, i was curious if anyone has tried this.


      I basically have a domain that has a value that gets persisted to the database. And if the value is true .. then a few of the transient objects are required, false they arent.


      So i was trying to figure out how to do a custom validation against it but i can't see how to validate against itself.


      I know GORM can, so i am assuming it uses something that is built into hibernate to do so but i can't find any doco on how.


      Any hints?