How would I do this using current ejb3 PFD implementation?
I'm currently using this:
| @Entity
| @Table(name=incident_category, schema=dossier)
|
and in the class
| @Id
| @GeneratedValue(strategy = GenerationType.SEQUENCE, generator =
incident_category_seq)
|
Well,
changing the code to
| @SequenceGenerator(name = incident_category_seq, sequenceName =
dossier.incident_category_seq)
|
(changing the sequenceName to schema.sequenceName) solved this error, but I
think since this did not work for the table specification, it's probably not
supposed
use a @GenericGenerator and inject the sequence strategy and the schema
parameter
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3914992#3914992
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914992
If someone from JBoss could help me out in this
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911175#3911175
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911175