Hi,
Probably an obvious question - just reading
EJB In Action, p268 - which is discussing the @SequenceGenerator annotation.
As once declared my sequence can be used globally across the persistence
unit, my question is where I should put this annotation? i.e. let's say this particular sequence is used in 2 EJB's, which one would I put it in?
If there is no real place, I would be tempted to declare it using the deployment descriptor in this case (assuming you can).
Thanks in advance,
MG
28/06/06 - SCJP - 69%, 05/06/07 - SCWCD - 92%, 28/02/08 - IBM DB2 v9 Fundamentals (Exam 730) - 87%, 18/11/08 - IBM DB2 v9 DBA (Exam 731) - 89%, 26/02/11 - SCBCD - 88%