Map a Java ResultSet to an Object.
Plug it into many frameworks to automatically map ResultSets (eg DBUtils, Spring Framework,...).
License
BSD LicenseFollow ResultSetMapper
Other Useful Business Software
All-in-one security tool helps you prevent ransomware and breaches.
Blumira’s detection and response platform enables faster resolution of threats to help you stop ransomware attacks and prevent data breaches. We surface real threats, providing meaningful findings so you know what to prioritize. With our 3-step rapid response, you can automatically block known threats, use our playbooks for easy remediation, or contact our security team for additional guidance. Our responsive security team helps with onboarding, triage and ongoing consultations to continuously help your organization improve your security coverage.
Rate This Project
Login To Rate This Project
User Reviews
-
This is really cool. I was trying to solve the same thing since long time and this is exactly i was looking for.
-
Very easy to use, but the ReflectionResultSetMapper should use rsmd.getColumnLabel instead of rsmd.getColumnName. Some JDBC drivers return the SQL Alias as the column label and return the actual column name for the column name meta data. If the sql is something like SELECT FOO as NAME from BAR I'd expect the reflection mapper to try to map a column named 'NAME' to an attribute on the bean, not a column named 'FOO'.