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..
//SELECT last_read, created_on FROM S_MEMBER WHERE (s_ID = ?, s_group_ID =
?)
//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