Tim McGuire wrote:I just realized the documentation I linked to is for OC4J, which has a subset of the annotations. In other words, forget that link
If you are like me and have an object in your database called a "sequence", then you want something like this:
You have ...
generator =
"hch_sequence"
name =
"hch_sequence"
sequenceName =
"hch_sequence"
Do I need keep all similar names ? if not which names could be different ?
However, I dont have "sequence". MySQL does not support sequence. I have put id field as auto increment in MySQL database. Is it not possible using JPA in MySQL ?