[#5164] Implement BindingSetStatementContext.toString() for improved debugging

This commit is contained in:
lukaseder 2016-03-24 14:31:26 +01:00
parent eb11e0e038
commit b4485dec44
7 changed files with 35 additions and 0 deletions

View File

@ -95,4 +95,9 @@ class DefaultBindingGetResultSetContext<U> extends AbstractScope implements Bind
}
};
}
@Override
public String toString() {
return "DefaultBindingGetResultSetContext [index=" + index + ", value=" + value + "]";
}
}

View File

@ -84,4 +84,9 @@ class DefaultBindingGetSQLInputContext<U> extends AbstractScope implements Bindi
}
};
}
@Override
public String toString() {
return "DefaultBindingGetSQLInputContext [value=" + value + "]";
}
}

View File

@ -91,4 +91,9 @@ class DefaultBindingGetStatementContext<U> extends AbstractScope implements Bind
}
};
}
@Override
public String toString() {
return "DefaultBindingGetStatementContext [index=" + index + ", value=" + value + "]";
}
}

View File

@ -76,4 +76,9 @@ class DefaultBindingRegisterContext<U> extends AbstractScope implements BindingR
public final <T> BindingRegisterContext<T> convert(Converter<T, U> converter) {
return new DefaultBindingRegisterContext<T>(configuration, data, statement, index);
}
@Override
public String toString() {
return "DefaultBindingRegisterContext [index=" + index + "]";
}
}

View File

@ -87,4 +87,9 @@ class DefaultBindingSQLContext<U> extends AbstractScope implements BindingSQLCon
public <T> BindingSQLContext<T> convert(Converter<T, U> converter) {
return new DefaultBindingSQLContext<T>(configuration, data, render, converter.to(value), variable);
}
@Override
public String toString() {
return "DefaultBindingSQLContext [value=" + value + ", variable=" + variable + "]";
}
}

View File

@ -76,4 +76,9 @@ class DefaultBindingSetSQLOutputContext<U> extends AbstractScope implements Bind
public final <T> BindingSetSQLOutputContext<T> convert(Converter<T, U> converter) {
return new DefaultBindingSetSQLOutputContext<T>(configuration, data, output, converter.to(value));
}
@Override
public String toString() {
return "DefaultBindingSetSQLOutputContext [value=" + value + "]";
}
}

View File

@ -83,4 +83,9 @@ class DefaultBindingSetStatementContext<U> extends AbstractScope implements Bind
public final <T> BindingSetStatementContext<T> convert(Converter<T, U> converter) {
return new DefaultBindingSetStatementContext<T>(configuration, data, statement, index, converter.to(value));
}
@Override
public String toString() {
return "DefaultBindingSetStatementContext [index=" + index + ", value=" + value + "]";
}
}