> Object objTxHome = jndiContext.lookup("CCTransactionHome");
> CCTransactionHome txHome = (CCTransactionHome)
> PortableRemoteObject.narrow(objTxHome, CCTransactionHome.class);
> Collection coll = txHome.findBySendBatch();
> Iterator it = coll.iterator();
> while (it.hasNext()) {
> CCTransaction ccTx = (CCTransaction) it.next();
> if (ccTx.getFieldX().equals("30")) {
> ...
> } else {
> CCTransaction refTx =
> txHome.findByPrimaryKey(ccTx.getReferenceTx());
> refTx.getFieldY() <-- is coming up null, even when there's
> something on the DB
> }
> }
It is not possible to find an EntityBean with a reference.
Is ccTx != ccTx.getReferenceTx() ?
CU
---
Ingo Bruell
OBL GmbH ([EMAIL PROTECTED])
Hude (Oldenburg)
Germany
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]