[jOOQ/jOOQ#17418] VALUES types decimal and int cannot be matched when inlining NUMERIC types in CockroachDB
This commit is contained in:
parent
ddf271ec6a
commit
4fa3309c88
@ -1961,7 +1961,23 @@ public class DefaultBinding<T, U> implements Binding<T, U> {
|
||||
|
||||
@Override
|
||||
final void sqlInline0(BindingSQLContext<U> ctx, BigDecimal value) {
|
||||
ctx.render().sql(value.toString());
|
||||
switch (ctx.family()) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
default:
|
||||
ctx.render().sql(value.toString());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
Reference in New Issue
Block a user