Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » error in using dao in Eclipse 3.0
error in using dao in Eclipse 3.0 [message #266453] Wed, 11 August 2004 09:26
Eclipse UserFriend
Originally posted by: ctleung_cua.yahoo.com.hk

I using Eclipse 3.0 with emf-sdo-runtime-2.0.0 and lomboz.3.

http://www.tusc.com.au/tutorial/html/index.html

And I follow the tutorial above to create BMP with DAO pattern. Then
generate the code below.

But some errors occur. According to the code, it will return a class but
not string. The return type is not match.

I try this so many times. When I just create DAO and then generate ejb
class. The problem then arise. I didn't modify any code!

It make me can not deploy the jar to JBoss.

public java.lang.String ejbCreate() throws javax.ejb.CreateException
{
super.ejbCreate();

return getDao().create((au.com.tusc.bmp.CustomerBean) this);
}

I like Eclipse because it is a powerful software and the gui is improve so
much in 3.0. I hope I can use it to develop EJB in future.

So, can anyone give some solutions for me?
Previous Topic:Re: please please please
Next Topic:Compiling DDS source
Goto Forum:
  


Current Time: Thu May 08 05:14:45 EDT 2025

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

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

Back to the top