[jboss-jira] [JBoss JIRA] (HIBERNATE-125) Hibernate does not allow String as Primary Key (where I have @GeneratedValue(strategy = GenerationType.AUTO) as well)

Steve Ebersole (JIRA) issues at jboss.org
Thu Nov 19 10:15:01 EST 2015


     [ https://issues.jboss.org/browse/HIBERNATE-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HIBERNATE-125.
------------------------------------
    Resolution: Rejected


> Hibernate does not allow String as Primary Key (where I have  @GeneratedValue(strategy = GenerationType.AUTO) as well)
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIBERNATE-125
>                 URL: https://issues.jboss.org/browse/HIBERNATE-125
>             Project: Hibernate Integration
>          Issue Type: Bug
>         Environment: JBoss 6
>            Reporter: Matthias Wessendorf
>            Assignee: Steve Ebersole
>            Priority: Critical
>         Attachments: JBoss.war, JBossLocal.war
>
>
> I have the following in my persistence.xml:
>       <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
>       <property name="hibernate.hbm2ddl.auto" value="create"/>
> but hibernate is not creating my MySQL tables



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list