0 Replies Latest reply on Feb 18, 2003 4:56 PM by Amit

    Entity beans - exception

    Amit Newbie

      (I have posted this problem yesterday in CMP/Jboss newsgroup but no one replied, hopefully some will give me a solution to this problem here.)

      Hi Ppl,
      I have searched the whole newsgroup there are lot of postings with this problem but none with right solution.
      The problem is:- session bean trying to set values in database via entity bean (CMP) if wrong data is supplied server throws "javax.ejb.EJBException: Store failed; CausedByException is:
      ORA-01401: inserted value too large for column"
      What I am trying to do is to catch this exception in session bean but in session bean the call to entity bean's setXXX method doesnt complains instead it throws "UndeclaredThrowableException" to the end client.
      I am using jboss-3.0.4_tomcat-4.1.12
      Please advice what need to be done to get rid of this problem.