Uses of Class
com.feedzai.commons.sql.abstraction.engine.MappedEntity
-
Packages that use MappedEntity Package Description com.feedzai.commons.sql.abstraction.engine Contains the database engine core.com.feedzai.commons.sql.abstraction.engine.impl Database specific implementations. -
-
Uses of MappedEntity in com.feedzai.commons.sql.abstraction.engine
Fields in com.feedzai.commons.sql.abstraction.engine with type parameters of type MappedEntity Modifier and Type Field Description protected Map<String,MappedEntity>AbstractDatabaseEngine. entitiesMap of entities.Methods in com.feedzai.commons.sql.abstraction.engine that return MappedEntity Modifier and Type Method Description protected abstract MappedEntityAbstractDatabaseEngine. createPreparedStatementForInserts(DbEntity entity)Creates and gets the prepared statement that will be used for insertions.MappedEntityMappedEntity. setAutoIncColumn(String autoIncColumn)Sets the auto increment column.MappedEntityMappedEntity. setEntity(DbEntity entity)Sets the entity.MappedEntityMappedEntity. setInsert(PreparedStatement insert)Sets the insert statement.MappedEntityMappedEntity. setInsertReturning(PreparedStatement insertReturning)Sets the insert statement that allows returning the generated keys.MappedEntityMappedEntity. setInsertWithAutoInc(PreparedStatement insertWithAutoInc)Sets the insert statement auto inc columns.Methods in com.feedzai.commons.sql.abstraction.engine with parameters of type MappedEntity Modifier and Type Method Description protected abstract longAbstractDatabaseEngine. doPersist(PreparedStatement ps, MappedEntity me, boolean useAutoInc, int lastBindPosition)DB engine specific auxiliary method forAbstractDatabaseEngine.persist(String, EntityEntry, boolean)to effectively perform the persist action.protected PreparedStatementAbstractDatabaseEngine. getPreparedStatementForPersist(boolean useAutoInc, MappedEntity mappedEntity)Gets thePreparedStatementto use in a persist operation, depending on whether autoInc is to be used or not. -
Uses of MappedEntity in com.feedzai.commons.sql.abstraction.engine.impl
Methods in com.feedzai.commons.sql.abstraction.engine.impl that return MappedEntity Modifier and Type Method Description protected MappedEntityDB2Engine. createPreparedStatementForInserts(DbEntity entity)protected MappedEntityH2Engine. createPreparedStatementForInserts(DbEntity entity)protected MappedEntityMySqlEngine. createPreparedStatementForInserts(DbEntity entity)protected MappedEntityOracleEngine. createPreparedStatementForInserts(DbEntity entity)protected MappedEntityPostgreSqlEngine. createPreparedStatementForInserts(DbEntity entity)protected MappedEntitySqlServerEngine. createPreparedStatementForInserts(DbEntity entity)Methods in com.feedzai.commons.sql.abstraction.engine.impl with parameters of type MappedEntity Modifier and Type Method Description protected longDB2Engine. doPersist(PreparedStatement ps, MappedEntity me, boolean useAutoInc, int lastBindPosition)protected longH2Engine. doPersist(PreparedStatement ps, MappedEntity me, boolean useAutoInc, int lastBindPosition)protected longMySqlEngine. doPersist(PreparedStatement ps, MappedEntity me, boolean useAutoInc, int lastBindPosition)protected longOracleEngine. doPersist(PreparedStatement ps, MappedEntity me, boolean useAutoInc, int lastBindPosition)protected longPostgreSqlEngine. doPersist(PreparedStatement ps, MappedEntity me, boolean useAutoInc, int lastBindPosition)protected longSqlServerEngine. doPersist(PreparedStatement ps, MappedEntity me, boolean useAutoInc, int lastBindPosition)protected PreparedStatementH2Engine. getPreparedStatementForPersist(boolean useAutoInc, MappedEntity mappedEntity)protected PreparedStatementMySqlEngine. getPreparedStatementForPersist(boolean useAutoInc, MappedEntity mappedEntity)protected PreparedStatementOracleEngine. getPreparedStatementForPersist(boolean useAutoInc, MappedEntity mappedEntity)protected voidCockroachDBEngine. updatePersistAutoIncSequence(MappedEntity mappedEntity, long currentAutoIncVal)protected voidPostgreSqlEngine. updatePersistAutoIncSequence(MappedEntity mappedEntity, long currentAutoIncVal)Updates the autoInc sequence value after a persist operation.
-