]
Carlo de Wolf reassigned EJBTHREE-1180:
---------------------------------------
Assignee: Emmanuel Bernard
@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
Assigned To: Emmanuel Bernard
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: