[
http://opensource.atlassian.com/projects/hibernate/browse/EJB-306?page=co...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira