Ever since I updated from Orion 1.2.9 if my ejbCreate fails it always throws
NullPointerException, PrimaryKey was null.  It used to return the exception
that I would throw.  Note this happens in Orion 1.3.8, 1.4.0 and 1.4.4

For example:

    public MyPK ejbCreate(...)
        throws CreateException
    {
        MyPK myPrimaryKey = null;

        // do the insert
        try
        {
            myPrimaryKey = insertUpdate(...);
        }
        catch (Exception ex)
        {
            throw new CreateException("ejbCreate: " + ex.getMessage());
        }

        return myPrimaryKey;
    }

Has anyone else seen this?

Thanks,
Paul Knepper
[EMAIL PROTECTED]


Reply via email to