Issue Details (XML | Word | Printable)

Key: DBUTILS-15
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Corby Page
Votes: 0
Watchers: 0
Operations

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

[dbutils] Patch for extending BasicRowProcessor

Created: 05/Dec/03 07:11 AM   Updated: 02/Jan/08 07:29 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File diff.txt 2003-12-05 07:12 AM Corby Page 1.0 kB
Environment:
Operating System: All
Platform: All

Bugzilla Id: 25229


 Description  « Hide
The enclosed patch allows users to override mapColumnsToProperties() by
extending BasicRowProcessor.

This provides a workaround for the existing assumption in DbUtils that all
JavaBean properties have the exact same name as their associated database columns.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Corby Page added a comment - 05/Dec/03 07:12 AM
Created an attachment (id=9400)
[DbUtils] Adding extension point to BasicRowProcessor

David Graham added a comment - 08/Dec/03 01:26 AM
Fixed but I used your original suggestion and placed mapColumnsToProperties in
the ColumnProcessor interface.