error in using dao in Eclipse 3.0 [message #266453] |
Wed, 11 August 2004 09:26 |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.05136 seconds