commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [DbUtils] output parameters in CallableStatement
Date Sun, 27 Jun 2004 23:13:17 GMT
I have never used CallableStatement but it looks like you can override
QueryRunner.prepareStatement() to create a CallableStatement and call
registerOutParameter() on it before returning it from that method.

David


--- "Liu, Zhihai" <Zhihai.Liu@dyncorp.com> wrote:
> Hi,
> 
> I have a CallableStatement with three input parameters and one output
> parameters.
> {? = call ddt_data_access.get_ddt_resultset(?, ?, ?)}
> The output parameter is 
> 
> When using QueryRunner, how do I set Object[] params to take care of the
> output parameter?
> 
> Thanks.
> 
>
----------------------------------------------------------------------------------------
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
> written agreement or government initiative expressly permitting the use
> of e-mail for such purpose.
>
----------------------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message