Issue Details (XML | Word | Printable)

Key: DBUTILS-43
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Dominique De Vito
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons DbUtils

an helper set of classes for JDBC processing with prepared statement

Created: 13/Jan/08 12:02 PM   Updated: 07/Mar/09 06:04 AM
Return to search
Component/s: None
Affects Version/s: 1.1
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Java Source File Licensed for inclusion in ASF works DefaultPreparedStatementSetter.java 2008-01-13 12:04 PM Dominique De Vito 2 kB
Java Source File Licensed for inclusion in ASF works PreparedStatementProcessor.java 2008-01-13 12:04 PM Dominique De Vito 3 kB
Java Source File Licensed for inclusion in ASF works PreparedStatementSetter.java 2008-01-13 12:04 PM Dominique De Vito 0.7 kB
Java Source File Licensed for inclusion in ASF works StatementUtils.java 2008-01-13 12:04 PM Dominique De Vito 4 kB
Issue Links:
Duplicate
 

Resolution Date: 26/Feb/09 03:23 AM


 Description  « Hide
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();

""



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Dominique De Vito made changes - 13/Jan/08 12:04 PM
Field Original Value New Value
Attachment DefaultPreparedStatementSetter.java [ 12373052 ]
Attachment PreparedStatementSetter.java [ 12373051 ]
Attachment PreparedStatementProcessor.java [ 12373050 ]
Dominique De Vito made changes - 13/Jan/08 12:04 PM
Attachment StatementUtils.java [ 12373053 ]
Dennis Lundberg made changes - 16/Mar/08 09:46 PM
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();
""
 
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}
""
 
Dan Fabulich made changes - 05/Feb/09 04:20 PM
Link This issue is duplicated by DBUTILS-29 [ DBUTILS-29 ]
Henri Yandell added a comment - 26/Feb/09 03:23 AM
DBUTILS-29 has been applied and this is viewed as duplicated functionality.

Henri Yandell made changes - 26/Feb/09 03:23 AM
Resolution Won't Fix [ 2 ]
Fix Version/s 1.2 [ 12312139 ]
Status Open [ 1 ] Closed [ 6 ]
Dan Fabulich added a comment - 07/Mar/09 06:04 AM
Removing "Fix Version: 1.2" since dupes/invalid/wontfix bugs clutter the release notes.

Dan Fabulich made changes - 07/Mar/09 06:04 AM
Fix Version/s 1.2 [ 12312139 ]