Beispiel #1
0
 @Override
 public final void bind(BindContext context) {
   if (context.declareFields() || context.declareTables()) {
     context.visit(wrapped);
   } else {
     // Don't bind any values
   }
 }
Beispiel #2
0
 @Override
 public void bind(BindContext ctx) throws DataAccessException {
   ctx.declareTables(true).visit(select(ctx.configuration())).declareTables(false);
 }