Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -690,9 +690,8 @@ private static <T> JdbcMapping jdbcMapping(QueryParameterBinding<T> domainParamB
if ( domainParamBinding.getType() instanceof JdbcMapping mapping ) {
return mapping;
}
// TODO: why do the test and the cast disagree here? getBindType() vs getType()
else if ( domainParamBinding.getBindType() instanceof BasicValuedMapping ) {
return ( (BasicValuedMapping) domainParamBinding.getType() ).getJdbcMapping();
return ( (BasicValuedMapping) domainParamBinding.getBindType() ).getJdbcMapping();
}
else {
return null;
Expand Down