?
 
I have all my transactional behavior defined as NotSupported and I use
EJB 2.0 container managed relationships without issue.  I don't
currently need transactions for what I'm doing.
 
Randahl, have you examined the contents of the database tables and the
orion-ejb-jar.xml closely?
 
Jeff

-----Original Message-----
From: Tim Drury [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 8:34 AM
To: Orion-Interest
Subject: RE: CMP 2.0




I've been out for a few days, so it this has been answered, 
sorry for the repost. 

This sounds like you didn't set the transactional behavior 
in ejb-jar.xml as "required".  There is no default behavior 
in the spec so it is up to the container to decide what 
the default behavior is.  I know in Weblogic, transactions 
default to "supports" (I think).  In any event, the entities 
are not stored in the database unless you mark them 
as "required".  Orion may be doing the same thing. 

-tim 


> -----Original Message----- 
> From: Randahl Fink Isaksen [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] 
> Sent: Monday, February 26, 2001 5:29 AM 
> To: Orion-Interest 
> Subject: CMP 2.0 
> 
> 
> Would somebody please confirm that they have been able to use CMP 2.0 
> relationships on Orion, that they have seen them get stored 
> in the database 
> AND brought back into main memory correctly after a restart 
> of the server. 
> 
> When I create a relationship it works fine until I restart - 
> I simply can't 
> make Orion restore my relationships from the keys it stores 
> in the database. 
> If I try the getX() / method of a cmr property it works - but after a 
> restart it returns null. 
> 
> 
> R. 
> 
> 
> 


Reply via email to