Merge branch 'master' of github.com:mysema/querydsl

This commit is contained in:
Timo Westkämper 2012-12-03 17:28:44 +02:00
commit ebf5f7a370

View File

@ -132,7 +132,7 @@ public final class JDBCTypeMapping {
@Nullable
public Class<?> get(int sqlType, int size, int digits) {
if (sqlType == Types.NUMERIC) {
if (sqlType == Types.NUMERIC || sqlType == Types.DECIMAL) {
return getNumericClass(size, digits);
} else if (types.containsKey(sqlType)) {
return types.get(sqlType);