We are using iplanet application builder for developing a
EJB application.
We are calling an entity bean from a
servlet to check the login authentication...we are using container managed persistence and are using findByPrimaryKey() to check for record
wehn we give a rigth entry as in the database the result is perfect but when we give a wrong entry that is not in the database it throws an object not found exception....we are catching the exception and displaying the message that the record not found...it works well but followin it if we give a right entry some sql.persistence exception is there and the findbyprimarykey() is not called.....please help