> 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
¢Ë�±ÊâmèÛ¢Ë.±êè�X¬·
+�)àv�,r��¢éì¹»®&Þ�º,²ë®�ß�+-Â�ä�x¢¢bâ²ÑÞ��è�
+�)àv�,r�