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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
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.

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org

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

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

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

    Attachment: StatementUtils.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, 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:
>  
> 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.

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ 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 | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Henri Yandell closed DBUTILS-43.
--------------------------------

       Resolution: Won't Fix
    Fix Version/s: 1.2

DBUTILS-29 has been applied and this is viewed as duplicated functionality.

> 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
>             Fix For: 1.2
>
>         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.