.. java:import:: java.sql PreparedStatement .. java:import:: java.sql SQLIntegrityConstraintViolationException .. java:import:: org.caosdb.server.database.access Access .. java:import:: org.caosdb.server.database.backend.interfaces InsertEntityDatatypeImpl .. java:import:: org.caosdb.server.database.exceptions IntegrityException .. java:import:: org.caosdb.server.database.exceptions TransactionException .. java:import:: org.caosdb.server.database.proto SparseEntity MySQLInsertEntityDatatype ========================= .. java:package:: org.caosdb.server.database.backend.implementation.MySQL :noindex: .. java:type:: 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:** :java:ref:`{@linkInsertEntityPropertiesImpl}` Fields ------ STMT_INSERT_ENTITY_COLLECTION ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public static final String STMT_INSERT_ENTITY_COLLECTION :outertype: MySQLInsertEntityDatatype 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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public static final String STMT_INSERT_ENTITY_DATATYPE :outertype: MySQLInsertEntityDatatype Inserts atomic data types of properties into the data_type table. Has two parameters, the property_id and the data type name. Constructors ------------ MySQLInsertEntityDatatype ^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:constructor:: public MySQLInsertEntityDatatype(Access access) :outertype: MySQLInsertEntityDatatype Methods ------- execute ^^^^^^^ .. java:method:: @Override public void execute(SparseEntity entity) :outertype: MySQLInsertEntityDatatype