Hi All,
Is there a way to call the store procedure in EJB's.As far as my knowledge goes it is not possible to call Store procedure in Entity beans. I am wondering is it possible to call in Session beans.??!!! If so could you please paste a snapshot of code.
Thanks in advance.
Sanjeev
-
Calling Store procedure in EJB (3 messages)
- Posted by: Sanjeevakumar Hiremath
- Posted on: September 27 2000 12:11 EDT
Threaded Messages (3)
- Calling Store procedure in EJB by Web Master on September 27 2000 13:27 EDT
- Calling Store procedure in EJB by Wolfgang Pleus on September 28 2000 03:15 EDT
- urgent by ashutosh kumar on July 29 2003 00:45 EDT
-
Calling Store procedure in EJB[ Go to top ]
- Posted by: Web Master
- Posted on: September 27 2000 13:27 EDT
- in response to Sanjeevakumar Hiremath
You can call stored procedures through JDBC for most databases. So, if you are using bean managed persistence, you can use stored procedures. The same holds true for Session Beans--if you are using a JDBC driver that support the stored procedure then you can call a stored procedure.
JKT -
Calling Store procedure in EJB[ Go to top ]
- Posted by: Wolfgang Pleus
- Posted on: September 28 2000 03:15 EDT
- in response to Sanjeevakumar Hiremath
You can call stored procedures from every bean via jdbc, if the jdbc-driver supports this.
View the jdbc documentation for java.sql.CallableStatement. There you will find the required information. -
urgent[ Go to top ]
- Posted by: ashutosh kumar
- Posted on: July 29 2003 00:45 EDT
- in response to Wolfgang Pleus
is there sample code availble for calling stored procedure from BMP