Discussions

EJB programming & troubleshooting: EJB and Stored Procedure Failure

  1. EJB and Stored Procedure Failure (1 messages)

    Hello folks,
    I have trouble executing an update stored procedure. The same procedure executes fine from a java application, but fails when called from BMP entity bean. I am using Sun One App Server 8.0 and Informix as backend DB. Is there any flag that I ought to be setting in the ejb-jar file.
    Thanks in advance
    -r
  2. EJB and Stored Procedure Failure[ Go to top ]

    Hello folks,I have trouble executing an update stored procedure. The same procedure executes fine from a java application, but fails when called from BMP entity bean. I am using Sun One App Server 8.0 and Informix as backend DB. Is there any flag that I ought to be setting in the ejb-jar file.Thanks in advance-r
    Can you please post the exception u r getting??
    Also one more thing if ur stored proc, is in some package.U need to specify
    packagename.StoredProcName while preparing the CallableStatement. (When using prepareCall()) method.
    Keep updated
    Amit