Hello Jon,

is it possible, sometimes, you pass in null to findByPrimaryKey?

alex

Thursday, October 17, 2002, 1:31:23 PM, you wrote:

JH> Running JBoss 3.0.2 with a fairly trivial entity bean:

JH>      /**
JH>       * @ejb:interface-method view-type="both"
JH>       * @ejb:persistent-field
JH>       */
JH>     public abstract long getId();
    
JH>      /**
JH>       */
JH>     public abstract void setId( long id );
    
JH>     /**
JH>      * @ejb:interface-method
JH>      */
JH>     public abstract void setNavn(String v);
JH>     /**
JH>      * @ejb:interface-method
JH>      * @ejb:persistent-field
JH>      * @ejb:pk-field
JH>      */
JH>     public abstract String getNavn();


JH> Sometimes the findByPrimaryKey returns NullPointerException.  Has
JH> anyone experimented something similarly?

-- 
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