I would like to know the recommended mechanism for doing field validations.
  I have seen the validate method on Validatable but my question is this: Hibernate 
knows which dialect I am using, it also knows the length of the string field in the DB 
(either we told it in the mapping or it knows the default for the dialect), is there 
no way, at the moment, that I can get Hibernate to validate my field lengths and throw 
an informational exception if I exceed them?
  I don't want to have to do dialect specific, hard coded checks in the validate 
method and I really don't want to do all the validation on the client side.

Thanks,
Dylan Etkin

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to