[jboss-jira] [JBoss JIRA] (HIBERNATE-130) Exporting schema using HibernateTool task

Dhana kumar (JIRA) jira-events at lists.jboss.org
Wed Apr 25 07:49:18 EDT 2012


Dhana kumar created HIBERNATE-130:
-------------------------------------

             Summary: Exporting schema using HibernateTool task
                 Key: HIBERNATE-130
                 URL: https://issues.jboss.org/browse/HIBERNATE-130
             Project: Hibernate Integration
          Issue Type: Feature Request
            Reporter: Dhana kumar
            Assignee: Steve Ebersole


Hi,
I have a question on exporting schema using HibernateTool task, the below annotations are not read and exported schema doesnt have the expected changes.. look at the below.. the size goes default to 255 instead of 30, how to achieve this, I dont want to specify the @Column size there, instead i am using, javax validation api..

pls help.

@NotNull
@Size(min = 1, max = 30)
@Column(name = "C_LAST_NAME")
private String lastName;

create table JpaHibernate.PUBLIC.T_CUSTOMER (
C_ID bigint not null,
C_FIRST_NAME varchar(255),
C_LAST_NAME varchar(255),

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list