The following workaround from JIRA worked.
| @Entity
| @Table(name="t_size")
| @GenericGenerator(name="seq_size", strategy = "sequence",
| parameters = { @Parameter(name="sequence",
value="seq_size") } )
| public class Size implements Serializable {
|
| private Long id;
| @Id @GeneratedValue( strategy=GenerationType.SEQUENCE,
generator="seq_size")
| public Long getId() { return this.id; }
| public void setId(Long id) { this.id = id; }
|
| ...
| }
Thanks David.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948185#3948185
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948185
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user