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
Package configuration values:
EntityApplicationModel.USERNAME_PREFIX
EntityApplicationModel.SAVE_DEFAULT_USERNAME
EntityEditModel.POST_EDIT_EVENTS
EntityEditModel.EntityEditor.PERSIST_FOREIGN_KEYS
EntityQueryModel.LIMIT
EntityTableModel.ON_INSERT
EntityTableModel.HANDLE_EDIT_EVENTS
EntityTableModel.ORDER_QUERY_BY_SORT_ORDER
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_CLASS
EntityServerConfiguration.CONNECTION_LIMIT
EntityServerConfiguration.CLIENT_CONNECTION_TIMEOUT
EntityServerConfiguration.CLIENT_LOGGING
EntityServerConfiguration.CONNECTION_POOL_USERS
EntityServerConfiguration.DOMAIN_MODEL_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 arguments<C extends EntityConnection,
T, R>
@Nullable REntityConnection.execute
(FunctionType<C, T, R> functionType, @Nullable T argument) 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 arguments<C extends EntityConnection,
T>
voidEntityConnection.execute
(ProcedureType<C, T> procedureType, @Nullable T argument) Executes the procedure with the given typeMethods in is.codion.framework.db that return EntityConnectionModifier and TypeMethodDescriptionprotected abstract EntityConnection
AbstractEntityConnectionProvider.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 EntityConnection
AbstractEntityConnectionProvider.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.Builder
instance for copying entities from source to destination, with a default batch size of 100.EntityConnection.batchInsert
(EntityConnection connection, Iterator<Entity> entities) Creates a newEntityConnection.BatchInsert
instance based on the given iterator, with a default batch size of 100.protected abstract void
AbstractEntityConnectionProvider.close
(EntityConnection connection) Closes the given connectionstatic void
EntityConnection.transaction
(EntityConnection connection, EntityConnection.Transactional transactional) Executes the givenEntityConnection.Transactional
instance within a transaction on the given connection, committing on success and rolling back on exception.static <T> @Nullable T
EntityConnection.transaction
(EntityConnection connection, EntityConnection.TransactionalResult<T> transactional) Executes the givenEntityConnection.TransactionalResult
instance 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 TypeInterfaceDescriptioninterface
A 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 TypeInterfaceDescriptioninterface
EntityConnection 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 arguments<C extends EntityConnection,
T, R>
RRemoteEntityConnection.execute
(FunctionType<C, T, R> functionType, T argument) 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 arguments<C extends EntityConnection,
T>
voidRemoteEntityConnection.execute
(ProcedureType<C, T> procedureType, T argument) 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 EntityConnection
DefaultEntityFactory.connection()
protected final EntityConnection
DomainTest.connection()
Constructors in is.codion.framework.domain.test with parameters of type EntityConnectionModifierConstructorDescriptionDefaultEntityFactory
(EntityConnection connection) Instantiates a newDefaultEntityFactory
Constructor 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 EntityConnection
AbstractEntityEditModel.connection()
final EntityConnection
AbstractEntityModel.connection()
final EntityConnection
AbstractEntityTableModel.connection()
final EntityConnection
DefaultEntityApplicationModel.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 void
AbstractEntityEditModel.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 EntityConnection
AbstractRemoteEntityConnection.connectionProxy
A Proxy for logging method calls