Thank you, the bug has been fix in the just released 0.8.1 version.

Have a nice day!

/Magnus Stenman, the Orion team

----- Original Message ----- 
From: Jonas Larsson <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Friday, November 12, 1999 8:29 AM
Subject: Compound key Entity EJB bug!


> Hi,
> 
> I've discovered a new bug in container managed EntityEjb when using a
> compound key...
> In the create method of the homewrapper I cna see that a select is done to
> discover duplicate entitys followed by the actual insert... the problem lies
> in the generated select..
> file://SELECT last_read, created_on FROM S_MEMBER WHERE (s_ID = ?, s_group_ID =
> ?)
> file://INSERT INTO S_MEMBER (s_ID, s_group_ID, last_read, created_on) VALUES (?,
> ?, ?, ?)
> 
> .. in the where calues... it must be "WHERE s_ID = ? AND s_group_ID = ?"..
> 
> The compound looks like this:
> class S_MEMBERID {
> public long s_ID;
> public long s_group_ID;
> ...
> ...
> ...
> ...
> }
> 
> Correct me if I'm wrong (probably not) , but this is an error!
> 
> L8r
> /Jonas

Reply via email to