MySQLInsertEntityDatatype

public class MySQLInsertEntityDatatype extends MySQLTransaction implements InsertEntityDatatypeImpl

Insert an entity’s (meaning: an abstract property’s) data type.

This inserts the abstract property’s data type as opposed to the (overridden data type which is being inserted/updated via InsertEntityPropertiesImpl.

Author:

Timm Fitschen

See also: {@linkInsertEntityPropertiesImpl}

Fields

STMT_INSERT_ENTITY_COLLECTION

public static final String STMT_INSERT_ENTITY_COLLECTION

Inserts collection data types of properties into the data_type table. Has two parameters, the property_id and the type of collection (e.g. ‘LIST’).

STMT_INSERT_ENTITY_DATATYPE

public static final String STMT_INSERT_ENTITY_DATATYPE

Inserts atomic data types of properties into the data_type table. Has two parameters, the property_id and the data type name.

Constructors

MySQLInsertEntityDatatype

public MySQLInsertEntityDatatype(Access access)

Methods

execute

public void execute(SparseEntity entity)