In another project I work on, I have exactly this usage (well with Integer)
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id=null;
and with this project, I do not get the sequence table.
> On Mon, Apr 20, 2009 at 5:18 PM, Pinaki Poddar (via Nabble) <
> [email protected]<ml-user%[email protected]>
> > wrote:
>
> > 1. To verify that OPENJPA_SEQUENCE_TABLE is not getting created by another
> > entity, can you run the application with a single simple class such as
> > @Entity
> > public class PObject {
> > @Id
> > @GeneratedValue(strategy=GenerationType.IDENTITY)
> > private long id;
> >
> > public long getId() {
> > return id;
> > }
> >
> > }
> >
>
> Hello; I'll do this, but I should mention that my entities are very simple
> (a Party subclassed by a Person). I am using property-based access if it
> matters, not field-based.
>
> Best,
> Laird
>
> --
> View this message in context:
> http://n2.nabble.com/OPENJPA_SEQUENCE_TABLE%3A-needed-even-with-IDENTITY-columns--tp2657337p2669829.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
--
Ted Leung
[email protected]
// /*
You know things are getting a little fishy when you're commenting out
comments.
// */