| To: | <users@xxxxxxxxxx> |
|---|---|
| Subject: | RE: [cinjug-users] Returning 4K+ from a Java Stored Procedure |
| From: | "Prakash, Anu" <APrakash@xxxxxxx> |
| Date: | Fri, 23 Sep 2005 15:16:40 -0400 |
| Delivered-to: | mailing list users@cinjug.org |
| Mailing-list: | contact users-help@cinjug.org; run by ezmlm |
| Thread-index: | AcXAbmWYzXj3KTseQBuA/DW/Z/CoIAAA6d2w |
| Thread-topic: | [cinjug-users] Returning 4K+ from a Java Stored Procedure |
|
You
can call your stored procedure this way...
CallableStatement cstmt =
conn.prepareCall( "{ ? = call your_function
(?) }" );
cstmt.registerOutParameter(1, Types.CLOB); cstmt.setString(2, param1);
......
cstmt.execute(); ......
cstmt.getClob(1).getAsciiStream(); // This will give the input stream to read your data
out.
Anu
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [cinjug-users] Returning 4K+ from a Java Stored Procedure, santosh kaushik |
|---|---|
| Next by Date: | RE: [cinjug-users] Returning 4K+ from a Java Stored Procedure, Creighton Kirkendall |
| Previous by Thread: | Hibernate 3 on jdk 1.3, Bill Manuel |
| Next by Thread: | RE: [cinjug-users] Returning 4K+ from a Java Stored Procedure, Creighton Kirkendall |
| Indexes: | [Date] [Thread] [Top] [All Lists] |