Not sure how to limit the length of a string column in XML mapping...
---------------------------------------------------------------------
Key: HHH-2838
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2838
Project: Hibernate3
Issue Type: Improvement
Components: documentation
Affects Versions: 3.2.5
Environment: Hibernate 3.2.0, MySQL
Reporter: Colbert Philippe
It's really not clear to me after reading the Hibernate documenation and the book
"Java Persistence with Hibernate". How can I limit the length of a string
column. It's not just properties that can be of type string; <map-key>,
<element> and others can take type string. So when I am coding my class mapping in
XML, and I run into some column (be it <property>, <map-key>,
<element>), how can I limit the length of the string (length of the column in the
XML mapping file?
--
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