Skip to content

Dynamic Schema Names

Philippe Marschall edited this page Oct 1, 2016 · 1 revision

If your stored procedures are in a different schema who's name can only be determined at runtime you can use the following pattern

ProcedureCallerFactory.of(MyProcedures.class, dataSource)
    .withSchemaNamingStrategy(ignored -> determineSchemaName())
    .build();