* @throws DriverLoadException
* @see org.gdbms.engine.strategies.Strategy#custom(String,
* org.gdbms.engine.instruction.CustomAdapter)
*/
public DataSource custom(CustomAdapter instr) throws ExecutionException {
CustomQuery query = QueryManager.getQuery(instr.getQueryName());
if (query == null) {
throw new RuntimeException("No such custom query");
}
try {
return query.evaluate(instr.getTables(), instr.getValues());
} catch (DriverLoadException e) {
throw new ExecutionException(e);
} catch (NoSuchTableException e) {
throw new ExecutionException(e);
} catch (DataSourceCreationException e) {