Package io.jmix.datatools.impl
Class EntitySqlGenerationServiceImpl
java.lang.Object
io.jmix.datatools.impl.EntitySqlGenerationServiceImpl
- All Implemented Interfaces:
- EntitySqlGenerationService
@Primary
@Component("datatl_EntitySqlGenerationService")
public class EntitySqlGenerationServiceImpl
extends Object
implements EntitySqlGenerationService
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected DataManagerprotected FetchPlansprotected Metadataprotected MetadataTools
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected FetchPlancreateFullFetchPlan(Class<?> entityClass) protected FetchPlanBuildercreateFullFetchPlanBuilder(MetaClass metaClass) protected FetchPlanBuildercreateFullFetchPlanBuilder(Class<?> entityClass, MetaClass metaClass) generateInsertScript(Object entity) Generates an SQL-insert query for the given entity.generateSelectScript(Object entity) Generates an SQL-select query for the given entity.generateUpdateScript(Object entity) Generates an SQL-update query for the given entity.protected booleanisReferenceField(MetaProperty metaProperty) protected Object
- 
Field Details- 
metadata
- 
fetchPlans
- 
dataManager
- 
metadataTools
- 
applicationContext@Autowired protected org.springframework.context.ApplicationContext applicationContext
 
- 
- 
Constructor Details- 
EntitySqlGenerationServiceImplpublic EntitySqlGenerationServiceImpl()
 
- 
- 
Method Details- 
generateInsertScriptDescription copied from interface:EntitySqlGenerationServiceGenerates an SQL-insert query for the given entity.- Specified by:
- generateInsertScriptin interface- EntitySqlGenerationService
 
- 
generateUpdateScriptDescription copied from interface:EntitySqlGenerationServiceGenerates an SQL-update query for the given entity.- Specified by:
- generateUpdateScriptin interface- EntitySqlGenerationService
 
- 
generateSelectScriptDescription copied from interface:EntitySqlGenerationServiceGenerates an SQL-select query for the given entity.- Specified by:
- generateSelectScriptin interface- EntitySqlGenerationService
 
- 
reload
- 
createFullFetchPlan
- 
createFullFetchPlanBuilder
- 
createFullFetchPlanBuilder
- 
isReferenceField
 
-