mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-19 21:00:53 +08:00
Merge branch 'master' of github.com:mysema/querydsl
This commit is contained in:
commit
ebf5f7a370
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user