[hibernate-issues] [Hibernate-JIRA] Commented: (EJB-306) make column length available in StringType

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Jul 23 12:23:52 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27594 ] 

Emmanuel Bernard commented on EJB-306:
--------------------------------------

Ah OK.
For your specific example, I think the future is more about exposing such data through Hibernate Validator @Length(32)
I hope this is the way the spec will go as well.

> make column length available in StringType
> ------------------------------------------
>
>                 Key: EJB-306
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-306
>             Project: Hibernate Entity Manager
>          Issue Type: Improvement
>          Components: EntityManager
>    Affects Versions: 3.3.1.GA
>            Reporter: jpk
>
> Why don't we make available the underlying column length for the org.hibernate.type.StringType?
> This way, JPA flavored hibernate deployments can stick with the ClassMetadata interrogation approach and not have to be beleaguered  with having to have a separate Configuration instance just to get at this highly desirable and useful attribute!

-- 
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