commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique De Vito (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DBUTILS-43) an helper set of classes for JDBC processing with prepared statement
Date Sun, 13 Jan 2008 12:04:34 GMT

     [ 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.


Mime
View raw message