Uploaded image for project: 'Commons DbUtils'
  1. Commons DbUtils
  2. DBUTILS-43

an helper set of classes for JDBC processing with prepared statement

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Labels:
      None

      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:

      Object[] line = null;
      CvsReader reader = ...;
      PreparedStatementProcessor processor = ...;
      while(reader.read(line)) {
        processor.executeUpdate(line);
      }
      processor.close();
      

      ""

        Attachments

        1. PreparedStatementProcessor.java
          3 kB
          Dominique De Vito
        2. PreparedStatementSetter.java
          0.7 kB
          Dominique De Vito
        3. DefaultPreparedStatementSetter.java
          2 kB
          Dominique De Vito
        4. StatementUtils.java
          4 kB
          Dominique De Vito

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dmdevito Dominique De Vito
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: