[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-2838) Not sure how to limit the length of a string column in XML mapping...

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Thu Sep 13 02:30:14 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen closed HHH-2838.
------------------------------------

    Resolution: Rejected

I think you are looking for http://forum.hibernate.org

> 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