Package net. corda. v5. application. persistence
Types
Link copied to clipboard
class CordaPersistenceException(message: String, cause: Throwable?) : CordaRuntimeException
Content copied to clipboard
Exception that encapsulates errors during persistence.
Link copied to clipboard
Used to build a Query that supports limit and offset.
Link copied to clipboard
Used to build a Query that supports parameters.
Link copied to clipboard
PersistenceService allows a flow to insert, find, update and delete custom entities in the persistent store provided by the platform.
Functions
Link copied to clipboard
Finds a single entity in the persistence context of the specified entity type T and with the specified primaryKey.
inline fun <T : Any> PersistenceService.find(primaryKeys: List<Any>): List<T>
Content copied to clipboard
Finds multiple entities of the same type with different primary keys from the persistence context in a single transaction.
Link copied to clipboard
Finds all entities of the same type in a single transaction.