Uses of Interface
is.codion.framework.db.EntityConnection
Packages that use EntityConnection
Package
Description
Package configuration values:
EntityConnectionProvider.CLIENT_DOMAIN_TYPE
EntityConnectionProvider.CLIENT_CONNECTION_TYPE
EntityConnectionProvider.DESCRIPTION
Package configuration values:
EntityApplicationModel.USER_PREFERENCES
EntityApplicationModel.RESTORE_DEFAULT_PREFERENCES
EntityApplicationModel.PREFERENCES_KEY
EntityEditModel.EDIT_EVENTS
EntityEditModel.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
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,T, R>
@Nullable REntityConnection.execute(FunctionType<C, T, R> functionType) Executes the function with the given type with no parameter<C extends EntityConnection,T, R>
@Nullable REntityConnection.execute(FunctionType<C, T, R> functionType, @Nullable T parameter) Executes the function with the given type<C extends EntityConnection,T>
voidEntityConnection.execute(ProcedureType<C, T> procedureType) Executes the procedure with the given type with no parameter<C extends EntityConnection,T>
voidEntityConnection.execute(ProcedureType<C, T> procedureType, @Nullable T 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,T, R>
RRemoteEntityConnection.execute(FunctionType<C, T, R> functionType) Executes the function with the given type with no parameter<C extends EntityConnection,T, R>
RRemoteEntityConnection.execute(FunctionType<C, T, R> functionType, T parameter) Executes the function with the given type<C extends EntityConnection,T>
voidRemoteEntityConnection.execute(ProcedureType<C, T> procedureType) Executes the procedure with the given type with no parameter<C extends EntityConnection,T>
voidRemoteEntityConnection.execute(ProcedureType<C, T> procedureType, T 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 EntityConnectionAbstractEntityEditModel.connection()final EntityConnectionAbstractEntityModel.connection()final EntityConnectionAbstractEntityTableModel.connection()final EntityConnectionDefaultEntityApplicationModel.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 TypeMethodDescriptionprotected voidAbstractEntityEditModel.delete(Collection<Entity> entities, EntityConnection connection) Deletes the given entities from the database using the given connectionprotected Collection<Entity> AbstractEntityEditModel.insert(Collection<Entity> entities, EntityConnection connection) Inserts the given entities into the database using the given connectionprotected Collection<Entity> AbstractEntityEditModel.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