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 Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected DataManagerprotected FetchPlansprotected Metadataprotected MetadataTools -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
EntitySqlGenerationServiceImpl
public EntitySqlGenerationServiceImpl()
-
-
Method Details
-
generateInsertScript
Description copied from interface:EntitySqlGenerationServiceGenerates an SQL-insert query for the given entity.- Specified by:
generateInsertScriptin interfaceEntitySqlGenerationService
-
generateUpdateScript
Description copied from interface:EntitySqlGenerationServiceGenerates an SQL-update query for the given entity.- Specified by:
generateUpdateScriptin interfaceEntitySqlGenerationService
-
generateSelectScript
Description copied from interface:EntitySqlGenerationServiceGenerates an SQL-select query for the given entity.- Specified by:
generateSelectScriptin interfaceEntitySqlGenerationService
-
reload
-
createFullFetchPlan
-
createFullFetchPlanBuilder
-
createFullFetchPlanBuilder
-
isReferenceField
-