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

an helper set of classes for JDBC processing with prepared statement

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1
    • None
    • 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. StatementUtils.java
          4 kB
          Dominique De Vito
        2. PreparedStatementSetter.java
          0.7 kB
          Dominique De Vito
        3. PreparedStatementProcessor.java
          3 kB
          Dominique De Vito
        4. DefaultPreparedStatementSetter.java
          2 kB
          Dominique De Vito

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: