[jboss-jira] [JBoss JIRA] (HIBERNATE-130) Exporting schema using HibernateTool task
Steve Ebersole (JIRA)
issues at jboss.org
Thu Nov 19 10:29:01 EST 2015
[ https://issues.jboss.org/browse/HIBERNATE-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HIBERNATE-130.
------------------------------------
Resolution: Rejected
> 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 was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list