protected class EntitySqlGenerator.Table
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
discriminatorColumn |
protected javax.persistence.DiscriminatorType |
discriminatorType |
protected java.util.Map<java.lang.String,EntitySqlGenerator.FieldEntry> |
fieldToColumnMapping |
protected java.lang.String |
idColumn |
protected java.lang.String |
name |
protected EntitySqlGenerator.Table |
parent |
Constructor and Description |
---|
Table(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
collectMetadata(java.lang.Class clazz) |
protected java.lang.Object |
discriminatorValue() |
protected Pair<java.util.List<java.lang.String>,java.util.List<java.lang.String>> |
getInsertStrings(EntitySqlGenerator.FieldEntry fieldEntry,
Entity entity) |
protected Pair<java.util.List<java.lang.String>,java.util.List<java.lang.String>> |
getUpdateStrings(java.util.Map.Entry<java.lang.String,EntitySqlGenerator.FieldEntry> mapEntry,
Entity entity) |
java.lang.String |
insert(Entity entity) |
java.lang.String |
update(Entity entity) |
protected EntitySqlGenerator.Table parent
protected java.lang.String name
protected java.lang.String idColumn
protected java.lang.String discriminatorColumn
protected javax.persistence.DiscriminatorType discriminatorType
protected java.util.Map<java.lang.String,EntitySqlGenerator.FieldEntry> fieldToColumnMapping
public java.lang.String insert(Entity entity)
protected Pair<java.util.List<java.lang.String>,java.util.List<java.lang.String>> getInsertStrings(EntitySqlGenerator.FieldEntry fieldEntry, Entity entity)
public java.lang.String update(Entity entity)
protected Pair<java.util.List<java.lang.String>,java.util.List<java.lang.String>> getUpdateStrings(java.util.Map.Entry<java.lang.String,EntitySqlGenerator.FieldEntry> mapEntry, Entity entity)
@Nullable protected java.lang.Object discriminatorValue()
protected void collectMetadata(java.lang.Class clazz)