Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-396
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-396
Summary: hbm2java validate method code generation
Type: Patch
Status: Unassigned
Priority: Minor
Project: Hibernate2
Components:
toolset
Versions:
2.0 final
Assignee:
Reporter: Rob Stokes
Created: Mon, 13 Oct 2003 4:59 PM
Updated: Mon, 13 Oct 2003 4:59 PM
Environment: Hibernate Extensions 2.0
Description:
This patch contains the code to generate the validate() method for classes that implement net.sf.hibernate.Validatable interface. The validate method will check nullablity and string lengths check based on the mapping file. As part of the nullability checks it also add static initializers for collection type variables. Any checks that fail will throw a ValidationFailure exception with a message loaded from a resource bundle created by ValidatableMessageRenderer. ValidatableMessageRenderer must be added to the config.xml used by hbm2java. The messages can then be modified to what ever you want them to say.
---------------------------------------------------------------------
JIRA INFORMATION:
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.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|