Uses of Interface
is.codion.framework.db.EntityConnection
Packages that use EntityConnection
Package
Description
Package configuration values:
EntityConnectionProvider.CLIENT_CONNECTION_TYPE
EntityConnectionProvider.DESCRIPTION
Package configuration values:
EntityApplicationModel.USER_PREFERENCES
EntityApplicationModel.PREFERENCES_KEY
EntityEditor.PUBLISH_PERSISTENCE_EVENTS
EntityEditor.PERSIST_FOREIGN_KEYS
EntityQueryModel.LIMIT
EntityTableModel.ON_INSERT
EntityTableModel.ORDER_QUERY
ForeignKeyModelLink.SET_CONDITION_ON_INSERT
ForeignKeyModelLink.SET_VALUE_ON_INSERT
ForeignKeyModelLink.REFRESH_ON_SELECTION
ForeignKeyModelLink.CLEAR_CONDITION_ON_EMPTY_SELECTION
ForeignKeyModelLink.CLEAR_VALUE_ON_EMPTY_SELECTION
EntitySearchModel.DEFAULT_LIMIT
EntitySearchModel.PERSISTENCE_AWARE
Package configuration values:
EntityServerConfiguration.CONNECTION_POOL_FACTORY
EntityServerConfiguration.CONNECTION_LIMIT
EntityServerConfiguration.CLIENT_CONNECTION_TIMEOUT
EntityServerConfiguration.METHOD_TRACING
EntityServerConfiguration.CONNECTION_POOL_USERS
EntityServerConfiguration.DOMAIN_CLASSES
-
Uses of EntityConnection in is.codion.framework.db
Methods in is.codion.framework.db with type parameters of type EntityConnectionModifier and TypeMethodDescription<C extends EntityConnection,P, R>
@Nullable REntityConnection.execute(FunctionType<C, P, R> functionType) Executes the function with the given type with no parameter<C extends EntityConnection,P, R>
@Nullable REntityConnection.execute(FunctionType<C, P, R> functionType, @Nullable P parameter) Executes the function with the given type<C extends EntityConnection,P>
voidEntityConnection.execute(ProcedureType<C, P> procedureType) Executes the procedure with the given type with no parameter<C extends EntityConnection,P>
voidEntityConnection.execute(ProcedureType<C, P> procedureType, @Nullable P parameter) Executes the procedure with the given typeMethods in is.codion.framework.db that return EntityConnectionModifier and TypeMethodDescriptionprotected abstract EntityConnectionAbstractEntityConnectionProvider.connect()AbstractEntityConnectionProvider.connection()EntityConnectionProvider.connection()Provides a EntityConnection object, is responsible for returning a healthy EntityConnection object, that is, it must reconnect an invalid connection whether remotely or locallyprotected final EntityConnectionAbstractEntityConnectionProvider.validConnection()Returns a valid connection or throws an exception in case one can not be establishedMethods in is.codion.framework.db that return types with arguments of type EntityConnectionModifier and TypeMethodDescriptionfinal Observer<EntityConnection> AbstractEntityConnectionProvider.connected()EntityConnectionProvider.connected()Methods in is.codion.framework.db with parameters of type EntityConnectionModifier and TypeMethodDescriptionEntityConnection.batchCopy(EntityConnection source, EntityConnection destination) Creates a newEntityConnection.BatchCopy.Builderinstance for copying entities from source to destination, with a default batch size of 100.EntityConnection.batchInsert(EntityConnection connection, Iterator<Entity> entities) Creates a newEntityConnection.BatchInsertinstance based on the given iterator, with a default batch size of 100.protected abstract voidAbstractEntityConnectionProvider.close(EntityConnection connection) Closes the given connectionstatic voidEntityConnection.transaction(EntityConnection connection, EntityConnection.Transactional transactional) Executes the givenEntityConnection.Transactionalinstance within a transaction on the given connection, committing on success and rolling back on exception.static <T> @Nullable TEntityConnection.transaction(EntityConnection connection, EntityConnection.TransactionalResult<T> transactional) Executes the givenEntityConnection.TransactionalResultinstance within a transaction on the given connection, committing on success and rolling back on exception. -
Uses of EntityConnection in is.codion.framework.db.http
Subinterfaces of EntityConnection in is.codion.framework.db.httpModifier and TypeInterfaceDescriptioninterfaceA factory for http based EntityConnection builder.Methods in is.codion.framework.db.http that return EntityConnection -
Uses of EntityConnection in is.codion.framework.db.local
Subinterfaces of EntityConnection in is.codion.framework.db.localModifier and TypeInterfaceDescriptioninterfaceEntityConnection implementation based on a local JDBC connection. -
Uses of EntityConnection in is.codion.framework.db.rmi
Methods in is.codion.framework.db.rmi with type parameters of type EntityConnectionModifier and TypeMethodDescription<C extends EntityConnection,P, R>
RRemoteEntityConnection.execute(FunctionType<C, P, R> functionType) Executes the function with the given type with no parameter<C extends EntityConnection,P, R>
RRemoteEntityConnection.execute(FunctionType<C, P, R> functionType, P parameter) Executes the function with the given type<C extends EntityConnection,P>
voidRemoteEntityConnection.execute(ProcedureType<C, P> procedureType) Executes the procedure with the given type with no parameter<C extends EntityConnection,P>
voidRemoteEntityConnection.execute(ProcedureType<C, P> procedureType, P parameter) Executes the procedure with the given type -
Uses of EntityConnection in is.codion.framework.domain.test
Methods in is.codion.framework.domain.test that return EntityConnectionModifier and TypeMethodDescriptionprotected final EntityConnectionDefaultEntityFactory.connection()protected final EntityConnectionDomainTest.connection()Constructors in is.codion.framework.domain.test with parameters of type EntityConnectionModifierConstructorDescriptionDefaultEntityFactory(EntityConnection connection) Instantiates a newDefaultEntityFactoryConstructor parameters in is.codion.framework.domain.test with type arguments of type EntityConnectionModifierConstructorDescriptionDomainTest(Domain domain, Function<EntityConnection, DomainTest.EntityFactory> entityFactory) Instantiates a new DomainTest.DomainTest(Domain domain, Function<EntityConnection, DomainTest.EntityFactory> entityFactory, User user) Instantiates a new DomainTest. -
Uses of EntityConnection in is.codion.framework.model
Methods in is.codion.framework.model that return EntityConnectionModifier and TypeMethodDescriptionfinal EntityConnectionAbstractEntityTableModel.connection()final EntityConnectionDefaultEntityApplicationModel.connection()final EntityConnectionDefaultEntityEditModel.connection()final EntityConnectionDefaultEntityModel.connection()EntityApplicationModel.connection()Do not cache or keep the connection returned by this method in a long living field, since it may become invalid and thereby unusable.EntityEditModel.connection()Do not cache or keep the connection returned by this method in a long living field, since it may become invalid and thereby unusable.EntityModel.connection()Do not cache or keep the connection returned by this method in a long living field, since it may become invalid and thereby unusable.EntityTableModel.connection()Do not cache or keep the connection returned by this method in a long living field, since it may become invalid and thereby unusable.Methods in is.codion.framework.model with parameters of type EntityConnectionModifier and TypeMethodDescriptiondefault voidEntityPersistence.delete(Entity entity, EntityConnection connection) Deletes the given entity from the database using the given connection.default voidEntityPersistence.delete(Collection<Entity> entities, EntityConnection connection) Deletes the given entities from the database using the given connectiondefault EntityEntityPersistence.insert(Entity entity, EntityConnection connection) Inserts the given entity into the database using the given connection.default Collection<Entity> EntityPersistence.insert(Collection<Entity> entities, EntityConnection connection) Inserts the given entities into the database using the given connectionDefaultEntityEditor.tasks(EntityConnection connection) EntityEditor.tasks(EntityConnection connection) default EntityEntityPersistence.update(Entity entity, EntityConnection connection) Updates the given entity in the database using the given connection.default Collection<Entity> EntityPersistence.update(Collection<Entity> entities, EntityConnection connection) Updates the given entities in the database using the given connection -
Uses of EntityConnection in is.codion.framework.server
Fields in is.codion.framework.server declared as EntityConnectionModifier and TypeFieldDescriptionprotected final EntityConnectionAbstractRemoteEntityConnection.connectionProxyA Proxy for logging method calls