You
can use findBy- and create-Methods but not additional ejbHome-Methods which are
new in EJB2.0 spec.
Dieter
-Original Message-From: David Tunkrans
[mailto:[EMAIL PROTECTED]]Sent: Montag, 18. Februar 2002
18:29To: Orion-InterestSubject: Re: Orion 1.5.4
Local/LocalHome with BMP - deployment problem
Thanks for the reply. Does this mean that you
cantuse findBy-methods on the localhome inteface?
/David
public interface ProductLocalHome extends
EJBLocalHome{ public static final String PRODUCT =
"ejb/ProductLocal"; public static final String JNDI_PRODUCT =
"java:comp/env/ejb/ProductLocal";
/** * *
@param name * @return */ public
ProductLocal findByPrimaryKey(Integer id) throws
FinderException;}
- Original Message -
From:
Kutzera, Dieter-Norbert
To: Orion-Interest
Sent: Monday, February 18, 2002 4:05
PM
Subject: RE: Orion 1.5.4
Local/LocalHome with BMP - deployment problem
... are you using ejbHome-methods? I think there is a bug in
orion 1.5.4 . It it not possible to use ejbHome-methods in local
home-interfaces. When you remove the declaration of this methods everythink
should work.
I
hopethe bug is fixes rapidly!
Dieter
-Original Message-From: David Tunkrans
[mailto:[EMAIL PROTECTED]]Sent: Sonntag, 17. Februar 2002
14:17To: Orion-InterestSubject: Orion 1.5.4
Local/LocalHome with BMP - deployment problem
EntityBean with BMP and Local/LocalHome etc.
Doesnt compile, some internal error...
Does anyone have an ideaof what could
be the cause of the error?
/David
Auto-unpacking
E:\cygwin\usr\local\java\orion\applications\app.ear...
done.Auto-unpacking
E:\cygwin\usr\local\java\orion\applications\app\webApp.war...
done.Auto-deploying app (Assembly had been
updated)...Auto-deploying product.jar (No previous deployment
found)...Found 1 semantic error compiling
"E:/cygwin/usr/local/java/orion/ProductLocalHome_EntityHomeWrapper31.java":
156. EvermindEntityContext
finderContext =
this.getContextInstance(thread);
-*** Error: The method
"com.evermind.server.ejb.EvermindEntityContext
getContextInstance(com.evermind.server.ThreadState $1);" can throw
thechecked exception "java/rmi/RemoteException", but its invocation is
neither enclosed in a try statement that can catch that exception nor
ithe body of a method or constructor that "throws" that
exception.Error compiling
E:\cygwin\usr\local\java\orion\applications\app/product.jar: Error in
source