[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2838) Not sure how to limit the length of a string column in XML mapping...
Colbert Philippe (JIRA)
noreply at atlassian.com
Wed Sep 12 15:02:14 EDT 2007
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list