rootvector2 commented on code in PR #426:
URL: https://github.com/apache/commons-beanutils/pull/426#discussion_r3639475007


##########
src/test/java/org/apache/commons/beanutils2/sql/DynaResultSetTest.java:
##########
@@ -96,6 +98,26 @@ void testGetName() {
         assertEquals("org.apache.commons.beanutils2.sql.ResultSetDynaClass", 
dynaClass.getName(), "DynaClass name");
     }
 
+    /**
+     * With the default {@code lowerCase} option the property name differs 
from the real column name, and the read path resolves it through
+     * {@code getColumnName}. Verify that {@code set} resolves it the same 
way, so the update targets the real column name and not the lower-cased property
+     * name.
+     */
+    @Test
+    void testSetUsesColumnName() throws Exception {
+        final String[] updatedColumn = new String[1];

Review Comment:
   done, switched to `AtomicReference`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to