You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dominique De Vito (JIRA)" <ji...@apache.org> on 2008/01/13 13:04:34 UTC

[jira] Updated: (DBUTILS-43) an helper set of classes for JDBC processing with prepared statement

     [ https://issues.apache.org/jira/browse/DBUTILS-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominique De Vito updated DBUTILS-43:
-------------------------------------

    Attachment: DefaultPreparedStatementSetter.java
                PreparedStatementSetter.java
                PreparedStatementProcessor.java

> an helper set of classes for JDBC processing with prepared statement
> --------------------------------------------------------------------
>
>                 Key: DBUTILS-43
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-43
>             Project: Commons DbUtils
>          Issue Type: New Feature
>    Affects Versions: 1.1
>            Reporter: Dominique De Vito
>         Attachments: DefaultPreparedStatementSetter.java, PreparedStatementProcessor.java, PreparedStatementSetter.java
>
>
> PreparedStatementProcessor class is the main point. As it is documented :
> ""
> PreparedStatementProcessor defines a prepared statement and execute it for each set of given parameters.
> PreparedStatementProcessor could be used with the producer/consumer pattern, like the following example:
>  
> Object[] line = null;
> CvsReader reader = ...;
> PreparedStatementProcessor processor = ...;
> while(reader.read(line)) {
>   processor.executeUpdate(line);
> }
> processor.close();
> ""
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.