I was using 1.5 and @GeneratedValue was fine... but now with 1.5.1GA I can´t import javax.persistence.GeneratedValue anymore. The same with @Temporal, for example.
Am I missing something? By the way what GA means?
Thanks,
Renan.
PS: I noticed I can import javax.persistence.GeneratorType. Isn´t this "old" EJB3 style that should by replaced by GeneratedValue in EJB3 PFD?
Well, I somehow installed JB4.0.3SP1 instead of JB4.0.4RC1, which comes with the latest EJB3 "version".
That resolved the problem.
Thanks,
Renan.