[#5545] Improve manual to explain Binding implementation in the context of static statements
This commit is contained in:
parent
093e0de85a
commit
ff00f5aa0c
@ -13642,6 +13642,9 @@ public class PostgresJSONGsonBinding implements Binding<Object, JsonElement> {
|
||||
// Rending a bind variable for the binding context's value and casting it to the json type
|
||||
@Override
|
||||
public void sql(BindingSQLContext<JsonElement> ctx) throws SQLException {
|
||||
// Depending on how you generate your SQL, you may need to explicitly distinguish
|
||||
// between jOOQ generating bind variables or inlined literals. If so, use this check:
|
||||
// ctx.render().paramType() == INLINED
|
||||
ctx.render().visit(DSL.val(ctx.convert(converter()).value())).sql("::json");
|
||||
}
|
||||
|
||||
|
||||
@ -8957,6 +8957,9 @@ public class PostgresJSONGsonBinding implements Binding<Object, JsonElement> {
|
||||
// Rending a bind variable for the binding context's value and casting it to the json type
|
||||
@Override
|
||||
public void sql(BindingSQLContext<JsonElement> ctx) throws SQLException {
|
||||
// Depending on how you generate your SQL, you may need to explicitly distinguish
|
||||
// between jOOQ generating bind variables or inlined literals. If so, use this check:
|
||||
// ctx.render().paramType() == INLINED
|
||||
ctx.render().visit(DSL.val(ctx.convert(converter()).value())).sql("::json");
|
||||
}
|
||||
|
||||
@ -14279,6 +14282,9 @@ public class PostgresJSONGsonBinding implements Binding<Object, JsonElement> {
|
||||
// Rending a bind variable for the binding context's value and casting it to the json type
|
||||
@Override
|
||||
public void sql(BindingSQLContext<JsonElement> ctx) throws SQLException {
|
||||
// Depending on how you generate your SQL, you may need to explicitly distinguish
|
||||
// between jOOQ generating bind variables or inlined literals. If so, use this check:
|
||||
// ctx.render().paramType() == INLINED
|
||||
ctx.render().visit(DSL.val(ctx.convert(converter()).value())).sql("::json");
|
||||
}
|
||||
|
||||
|
||||
@ -9192,6 +9192,9 @@ public class PostgresJSONGsonBinding implements Binding<Object, JsonElement> {
|
||||
// Rending a bind variable for the binding context's value and casting it to the json type
|
||||
@Override
|
||||
public void sql(BindingSQLContext<JsonElement> ctx) throws SQLException {
|
||||
// Depending on how you generate your SQL, you may need to explicitly distinguish
|
||||
// between jOOQ generating bind variables or inlined literals. If so, use this check:
|
||||
// ctx.render().paramType() == INLINED
|
||||
ctx.render().visit(DSL.val(ctx.convert(converter()).value())).sql("::json");
|
||||
}
|
||||
|
||||
@ -14651,6 +14654,9 @@ public class PostgresJSONGsonBinding implements Binding<Object, JsonElement> {
|
||||
// Rending a bind variable for the binding context's value and casting it to the json type
|
||||
@Override
|
||||
public void sql(BindingSQLContext<JsonElement> ctx) throws SQLException {
|
||||
// Depending on how you generate your SQL, you may need to explicitly distinguish
|
||||
// between jOOQ generating bind variables or inlined literals. If so, use this check:
|
||||
// ctx.render().paramType() == INLINED
|
||||
ctx.render().visit(DSL.val(ctx.convert(converter()).value())).sql("::json");
|
||||
}
|
||||
|
||||
|
||||
@ -9281,6 +9281,9 @@ public class PostgresJSONGsonBinding implements Binding<Object, JsonElement> {
|
||||
// Rending a bind variable for the binding context's value and casting it to the json type
|
||||
@Override
|
||||
public void sql(BindingSQLContext<JsonElement> ctx) throws SQLException {
|
||||
// Depending on how you generate your SQL, you may need to explicitly distinguish
|
||||
// between jOOQ generating bind variables or inlined literals. If so, use this check:
|
||||
// ctx.render().paramType() == INLINED
|
||||
ctx.render().visit(DSL.val(ctx.convert(converter()).value())).sql("::json");
|
||||
}
|
||||
|
||||
@ -14797,6 +14800,9 @@ public class PostgresJSONGsonBinding implements Binding<Object, JsonElement> {
|
||||
// Rending a bind variable for the binding context's value and casting it to the json type
|
||||
@Override
|
||||
public void sql(BindingSQLContext<JsonElement> ctx) throws SQLException {
|
||||
// Depending on how you generate your SQL, you may need to explicitly distinguish
|
||||
// between jOOQ generating bind variables or inlined literals. If so, use this check:
|
||||
// ctx.render().paramType() == INLINED
|
||||
ctx.render().visit(DSL.val(ctx.convert(converter()).value())).sql("::json");
|
||||
}
|
||||
|
||||
|
||||
@ -9280,6 +9280,9 @@ public class PostgresJSONGsonBinding implements Binding<Object, JsonElement> {
|
||||
// Rending a bind variable for the binding context's value and casting it to the json type
|
||||
@Override
|
||||
public void sql(BindingSQLContext<JsonElement> ctx) throws SQLException {
|
||||
// Depending on how you generate your SQL, you may need to explicitly distinguish
|
||||
// between jOOQ generating bind variables or inlined literals. If so, use this check:
|
||||
// ctx.render().paramType() == INLINED
|
||||
ctx.render().visit(DSL.val(ctx.convert(converter()).value())).sql("::json");
|
||||
}
|
||||
|
||||
@ -14796,6 +14799,9 @@ public class PostgresJSONGsonBinding implements Binding<Object, JsonElement> {
|
||||
// Rending a bind variable for the binding context's value and casting it to the json type
|
||||
@Override
|
||||
public void sql(BindingSQLContext<JsonElement> ctx) throws SQLException {
|
||||
// Depending on how you generate your SQL, you may need to explicitly distinguish
|
||||
// between jOOQ generating bind variables or inlined literals. If so, use this check:
|
||||
// ctx.render().paramType() == INLINED
|
||||
ctx.render().visit(DSL.val(ctx.convert(converter()).value())).sql("::json");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user