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:
Steve Ebersole 2010-01-11 23:46:47 +00:00
parent 9b3c518d5e
commit bec0f8046e
1 changed files with 2 additions and 2 deletions

View File

@ -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";
}
}