Uses of Class
net.java.ao.EntityManager
Packages that use EntityManager
-
Uses of EntityManager in net.java.ao
Methods in net.java.ao that return EntityManagerModifier and TypeMethodDescriptionRawEntity.getEntityManager()Retrieves theEntityManagerinstance which manages this entity.protected final EntityManagerTransaction.getEntityManager()Methods in net.java.ao with parameters of type EntityManagerModifier and TypeMethodDescriptionstatic <T extends RawEntity<K>,K>
TCommon.createPeer(EntityManager manager, Class<T> type, K key) protected <T extends RawEntity<K>,K>
KDatabaseProvider.executeInsertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, String sql, DBParam... params) Delegate method to execute an INSERT statement returning any auto-generated primary key values.ValueGenerator.generateValue(EntityManager manager) Generate a new value for an arbitrary field.Common.getSearchableFields(EntityManager manager, Class<? extends RawEntity<?>> type) <T extends RawEntity<K>,K>
voidDatabaseProvider.insertBatch(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, List<Map<String, Object>> rows) Inserts a batch of rows.<T extends RawEntity<K>,K>
KDatabaseProvider.insertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, DBParam... params) Generates an INSERT statement to be used to create a new row in the database, returning the primary key value.protected voidQuery.setParameters(EntityManager manager, PreparedStatement stmt) Constructors in net.java.ao with parameters of type EntityManagerModifierConstructorDescriptionReadOnlyEntityProxy(EntityManager manager, EntityInfo<T, K> entityInfo, K key) Transaction(EntityManager manager) Creates a newTransactionusing the specifiedEntityManagerinstance. -
Uses of EntityManager in net.java.ao.builder
Methods in net.java.ao.builder that return EntityManagerModifier and TypeMethodDescriptionabstract EntityManagerAbstractEntityManagerBuilderWithDatabaseProperties.build()EntityManagerBuilderWithDatabaseProperties.build() -
Uses of EntityManager in net.java.ao.db
Methods in net.java.ao.db with parameters of type EntityManagerModifier and TypeMethodDescriptionprotected <T extends RawEntity<K>,K>
KHSQLDatabaseProvider.executeInsertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, String sql, DBParam... params) protected <T extends RawEntity<K>,K>
KOracleDatabaseProvider.executeInsertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, String sql, DBParam... params) protected <T extends RawEntity<K>,K>
KPostgreSQLDatabaseProvider.executeInsertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, String sql, DBParam... params) <T extends RawEntity<K>,K>
voidHSQLDatabaseProvider.insertBatch(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, List<Map<String, Object>> rows) HSQL doesn't support batch insert.<T extends RawEntity<K>,K>
KHSQLDatabaseProvider.insertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, DBParam... params) <T extends RawEntity<K>,K>
KPostgreSQLDatabaseProvider.insertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, DBParam... params) <T extends RawEntity<K>,K>
KSQLServerDatabaseProvider.insertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, DBParam... params) -
Uses of EntityManager in net.java.ao.types
Methods in net.java.ao.types with parameters of type EntityManagerModifier and TypeMethodDescriptionLogicalType.pullFromDatabase(EntityManager manager, ResultSet res, Class<T> type, int columnIndex) Reads a value from a JDBC result set.LogicalType.pullFromDatabase(EntityManager manager, ResultSet res, Class<T> type, String columnName) Reads a value from a JDBC result set.voidLogicalType.putToDatabase(EntityManager manager, PreparedStatement stmt, int index, T value, int jdbcType) Sets a value in a JDBC statement.