HHH-4590 - CASTs from CriteriaBuilder.toXXX methods still need to be fleshed out
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18509 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
9b3c518d5e
commit
bec0f8046e
|
@ -220,7 +220,7 @@ public class ValueHandlerFactory {
|
|||
|
||||
@Override
|
||||
public String render(BigInteger value) {
|
||||
return "cast( " + value.toString() + " as BigInteger )";
|
||||
return value.toString() + "BI";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -244,7 +244,7 @@ public class ValueHandlerFactory {
|
|||
|
||||
@Override
|
||||
public String render(BigDecimal value) {
|
||||
return "cast( " + value.toString() + " as BigDecimal )";
|
||||
return value.toString() + "BD";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue