Package io.jmix.datatools
Class EntitySqlGenerator.Table
java.lang.Object
io.jmix.datatools.EntitySqlGenerator.Table
- Enclosing class:
- EntitySqlGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected javax.persistence.DiscriminatorType
protected Map<String,
EntitySqlGenerator.FieldEntry> protected String
protected String
protected EntitySqlGenerator.Table
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Map<String,
EntitySqlGenerator.FieldEntry> collectFields
(Class<?> clazz) protected void
collectMetadata
(Class<?> clazz) protected Object
getInsertStrings
(EntitySqlGenerator.FieldEntry fieldEntry, Object entity) getUpdateStrings
(Map.Entry<String, EntitySqlGenerator.FieldEntry> mapEntry, Object entity) protected void
overrideAssociations
(javax.persistence.AssociationOverrides overrides, Map<String, EntitySqlGenerator.FieldEntry> embeddedFields) protected void
overrideAttributes
(javax.persistence.AttributeOverrides overrides, Map<String, EntitySqlGenerator.FieldEntry> embeddedFields) protected String
-
Field Details
-
parent
-
name
-
idColumn
-
discriminatorColumn
-
discriminatorType
protected javax.persistence.DiscriminatorType discriminatorType -
fieldToColumnMapping
-
-
Constructor Details
-
Table
public Table() -
Table
-
-
Method Details
-
insert
-
getInsertStrings
-
update
-
getUpdateStrings
-
discriminatorValue
-
collectMetadata
-
resolveIdColumn
-
collectFields
-
overrideAttributes
protected void overrideAttributes(javax.persistence.AttributeOverrides overrides, Map<String, EntitySqlGenerator.FieldEntry> embeddedFields) -
overrideAssociations
protected void overrideAssociations(javax.persistence.AssociationOverrides overrides, Map<String, EntitySqlGenerator.FieldEntry> embeddedFields)
-