and what about Lennart's remark?
The primitives can't be null and if they are it should
result in the exception.

alex

Thursday, October 17, 2002, 4:50:49 PM, you wrote:

JH> * Alex Loubyansky
>> Hello Jon,
>> 
>> is it possible, sometimes, you pass in null to findByPrimaryKey?

JH> Actually, I don't think so.  Here is a part of the code:

JH>                     cat.debug("klh=" + klh + ", kpk=" + kpk);
JH>                     minSekvens=klh.findByPrimaryKey(kpk);

JH> And this is a part of the output:

JH> klh=norgesbank/ejbbasic/GenIdLocalHome, kpk=[.PRIMARYKEY.]
JH> 2002-10-17 11:33:12,611 ERROR [org.jboss.ejb.plugins.LogInterceptor]
JH> TransactionRolledbackLocalException, causedBy:
JH> java.lang.NullPointerException
JH>         at

JH> The primary key object is XDoclet generated.




-- 
Best regards,
 Alex Loubyansky




-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to