mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-30 21:08:30 +08:00
This commit is contained in:
parent
29e33b3750
commit
b3ddaa9905
@ -9,7 +9,7 @@ import com.mysema.query.grammar.Grammar;
|
||||
|
||||
|
||||
/**
|
||||
* ColTypes provides
|
||||
* ExtTypes provides
|
||||
*
|
||||
* @author tiwe
|
||||
* @version $Id$
|
||||
|
||||
@ -74,10 +74,11 @@ public class Projection extends Path.PEntity<Object>{
|
||||
}else{
|
||||
fieldVal = _simple(field.getName(), exprType);
|
||||
}
|
||||
|
||||
if (field.getType().isAssignableFrom(fieldVal.getClass())){
|
||||
field.set(this, fieldVal);
|
||||
}else{
|
||||
// unsupported
|
||||
// unsupported type
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user