Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » errors using Dali 0.5
errors using Dali 0.5 [message #589060] Sun, 27 August 2006 01:11
Christian Sell is currently offline Christian SellFriend
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
Previous Topic:Dali/WTP/DTP integration roadmap.
Next Topic:Dali EJB ORM JavaPolis talk
Goto Forum:
  


Current Time: Fri Apr 26 18:35:03 GMT 2024

Powered by FUDForum. Page generated in 0.02899 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top