public SQLStateConverter(final ViolatedConstraintNameExtracter extracter) { super(); final ConversionContext conversionContext = new ConversionContext() { @Override public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() { return extracter; } }; addDelegate( new SQLStateConversionDelegate( conversionContext ) ); }
@Override public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() { return hsqldbVersion < 20 ? EXTRACTER_18 : EXTRACTER_20; }
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() { return EXTRACTER; }
@Override public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() { return EXTRACTER; }
@Override public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() { return this.wrapped.getViolatedConstraintNameExtracter(); }