mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
AutoTune update - rename and profiling against original query
This commit is contained in:
1 parent
71dd0e5728
commit
a2a4a15f32
14 files changed
+181
-305
No files matched your search
@@ -126,7 +126,7 @@ public class BeanDescriptor<T> implements MetaBeanInfo, SpiBeanType<T> {
|
||||
*/
|
||||
private final String selectLastInsertedId;
|
||||
|
||||
private final boolean autoFetchTunable;
|
||||
private final boolean autoTunable;
|
||||
|
||||
/**
|
||||
* The concurrency mode for beans of this type.
|
||||
@@ -366,7 +366,7 @@ public class BeanDescriptor<T> implements MetaBeanInfo, SpiBeanType<T> {
|
||||
this.baseTable = InternString.intern(deploy.getBaseTable());
|
||||
this.baseTableAsOf = deploy.getBaseTableAsOf();
|
||||
this.baseTableVersionsBetween = deploy.getBaseTableVersionsBetween();
|
||||
this.autoFetchTunable = EntityType.ORM.equals(entityType) && (beanFinder == null);
|
||||
this.autoTunable = EntityType.ORM.equals(entityType) && (beanFinder == null);
|
||||
|
||||
// helper object used to derive lists of properties
|
||||
DeployBeanPropertyLists listHelper = new DeployBeanPropertyLists(owner, this, deploy);
|
||||
@@ -1603,10 +1603,10 @@ public class BeanDescriptor<T> implements MetaBeanInfo, SpiBeanType<T> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if queries for beans of this type are autoFetch tunable.
|
||||
* Return true if queries for beans of this type are auto tunable.
|
||||
*/
|
||||
public boolean isAutoFetchTunable() {
|
||||
return autoFetchTunable;
|
||||
public boolean isAutoTunable() {
|
||||
return autoTunable;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user