@ -303,18 +303,13 @@ abstract class JdbcQueryLookupStrategy extends RelationalQueryLookupStrategy {
LOG . debug ( String . format ( "Using the queryLookupStrategy %s" , keyToUse ) ) ;
LOG . debug ( String . format ( "Using the queryLookupStrategy %s" , keyToUse ) ) ;
switch ( keyToUse ) {
return switch ( keyToUse ) {
case CREATE :
case CREATE - > createQueryLookupStrategy ;
return createQueryLookupStrategy ;
case USE_DECLARED_QUERY - > declaredQueryLookupStrategy ;
case USE_DECLARED_QUERY :
case CREATE_IF_NOT_FOUND - > new CreateIfNotFoundQueryLookupStrategy (
return declaredQueryLookupStrategy ;
publisher , callbacks , context , converter , dialect , queryMappingConfiguration , operations ,
case CREATE_IF_NOT_FOUND :
createQueryLookupStrategy , declaredQueryLookupStrategy , delegate ) ;
return new CreateIfNotFoundQueryLookupStrategy ( publisher , callbacks , context , converter , dialect ,
} ;
queryMappingConfiguration , operations , createQueryLookupStrategy , declaredQueryLookupStrategy ,
delegate ) ;
default :
throw new IllegalArgumentException ( String . format ( "Unsupported query lookup strategy %s" , key ) ) ;
}
}
}
JdbcConverter getConverter ( ) {
JdbcConverter getConverter ( ) {