Thank you Emmanuel.  The following does in fact work for me.

  private Long id;
  |   @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = 
"seq_coupling_spec")
  |   @Id
  |   @SequenceGenerator(name = "seq_coupling_spec", sequenceName = 
"seq_coupling_spec", allocationSize=1)
  |   public Long getId() { return this.id; }
  |   public void setId(Long id) { this.id = id; }

Could you please tell me why 1 is not the default or allocationSize a required 
parameter?

If this is not specified it seems to ignore the entire tag.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948590#3948590

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948590


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to