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

Dennis Lundberg updated DBUTILS-43:
-----------------------------------

    Description: 
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:
 
{code}
Object[] line = null;
CvsReader reader = ...;
PreparedStatementProcessor processor = ...;
while(reader.read(line)) {
  processor.executeUpdate(line);
}
processor.close();
{code}
""
 


  was:
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();
""
 



> 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, 
> StatementUtils.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:
>  
> {code}
> Object[] line = null;
> CvsReader reader = ...;
> PreparedStatementProcessor processor = ...;
> while(reader.read(line)) {
>   processor.executeUpdate(line);
> }
> processor.close();
> {code}
> ""
>  

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

Reply via email to