[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-1180) @TableGenerator initialValue

john iakovides (JIRA) jira-events at lists.jboss.org
Fri Jan 18 06:09:21 EST 2008


     [ http://jira.jboss.com/jira/browse/EJBTHREE-1180?page=all ]

john iakovides updated EJBTHREE-1180:
-------------------------------------

          Environment: windows XP ; mysql 5; jboss-4.0.4GA; jboss-4.2.1GA  (was: windows XP ; mysql 5; jboss-4.0.4GA)
    Affects Version/s: AS 4.2.1.GA

> @TableGenerator initialValue
> ----------------------------
>
>                 Key: EJBTHREE-1180
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1180
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: EJB3 Extensions
>    Affects Versions: AS 4.2.1.GA
>         Environment: windows XP ; mysql 5; jboss-4.0.4GA; jboss-4.2.1GA
>            Reporter: john iakovides
>
> Initial value does not seem to work under mysql.
> @Table(name = "esender_mail")
> @TableGenerator (name="esender_mail_id_gen",
>     table="generated_ids",
>     pkColumnName="GEN_KEY",
>     valueColumnName="GEN_VALUE",
>     pkColumnValue="esender_mail",
>     initialValue=100,
>     allocationSize=1)
>     @Id
>     @GeneratedValue(generator ="esender_mail_id_gen", strategy = GenerationType.TABLE)
>     @Column(name = "mail_id", nullable = false)
>     private Integer mailId;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list