mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor mapping
This commit is contained in:
@@ -10,6 +10,8 @@ public class MappingContext {
|
||||
private boolean generateAlias = false;
|
||||
private boolean explainAllColumnToList = false;
|
||||
|
||||
private Entity defaultEntity;
|
||||
|
||||
public MappingContext(){
|
||||
this(new ArrayList<Object>());
|
||||
}
|
||||
@@ -42,4 +44,12 @@ public class MappingContext {
|
||||
this.explainAllColumnToList = explainAllColumnToList;
|
||||
}
|
||||
|
||||
public Entity getDefaultEntity() {
|
||||
return defaultEntity;
|
||||
}
|
||||
|
||||
public void setDefaultEntity(Entity defaultEntity) {
|
||||
this.defaultEntity = defaultEntity;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user