public static void initAllRuntimeParameterValues ( Connection conn , QueryParameter param , Map < String , QueryParameter > map , Map < String , Object > parameterValues ) throws QueryException { List < IdName > allValues = new ArrayList < IdName > ( ) ; if ( ( param . getSource ( ) != null ) && ( ! param . getSource ( ) . trim ( ) . equals ( "" ) ) ) { try { allValues = ParameterUtil . getRuntimeParameterValues ( conn , param , map , parameterValues ) ; } catch ( Exception e ) { throw new QueryException ( e ) ; } } initAllRuntimeParameterValues ( param , allValues , parameterValues ) ; }
Init parameter values map with all the values from select source of a parameter at runtime