You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run FooMapperTest should find an object Foo with object Bar.
Expected result
Find a foo with a bar auto mapped by properties.
Actual result
Test failed because foo.getBar() returns null.
##Potential Cause
Incorrectly match lowercase columnPrefix with uppercase columnName in method DefaultResultSetHandler::createAutomaticMappings
The text was updated successfully, but these errors were encountered:
harawata
changed the title
Auto mapping by properties returns null
Auto-mapping fails in a result map referenced from a constructor arg with columnPrefix
Mar 9, 2019
MyBatis version
3.5.0
Database vendor and version
H2
Test case or example project
auto_mapping.zip
Steps to reproduce
Run FooMapperTest should find an object Foo with object Bar.
Expected result
Find a foo with a bar auto mapped by properties.
Actual result
Test failed because foo.getBar() returns null.
##Potential Cause
Incorrectly match lowercase columnPrefix with uppercase columnName in method DefaultResultSetHandler::createAutomaticMappings
The text was updated successfully, but these errors were encountered: