errors using Dali 0.5 [message #589060] |
Sun, 27 August 2006 01:11 |
Christian Sell Messages: 77 Registered: July 2009 |
Member |
|
|
Hello,
I am trying to use Dali 0.5 within eclipse 3.2 with WTP 1.5 as required.
My target platform is JavaSE 5, in fact I want to create an eclipse RCP
app that accesses a derby database via toplink essentials.
I have a persistence.xml which lists the required properties. I also
have an orm.xml file which I currently only use to declare a sequence
generator. I am seeing the following problems:
1. I use the following sequence generator annotation on an entity class:
@Id
@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="JPAX_SEQ")
the generator is declared in orm.xml as
<sequence-generator name="JPAX_SEQ"/>
now, in the source editor, I always see an error marker on the @Id
annotation, saying "Generator name 'null' not defined".
2. I see intermittent NullPointerExceptions, and recently a
FileNotFoundException on an entity class file from the JavaBuilder (I
lost the stacktrace, will post when I get another one)
can anybody comment?
thanks,
Christian
|
|
|
Powered by
FUDForum. Page generated in 0.02776 seconds