corda / net.corda.node.services.database / RequeryConfiguration

RequeryConfiguration

class RequeryConfiguration

Constructors

<init>

RequeryConfiguration(properties: Properties, useDefaultLogging: Boolean = false)

Properties

config

val config: HikariConfig

dataSource

val dataSource: HikariDataSource

properties

val properties: Properties

useDefaultLogging

val useDefaultLogging: Boolean

Functions

jdbcSession

fun jdbcSession(): Connection

makeSessionFactoryForModel

fun makeSessionFactoryForModel(model: EntityModel): KotlinEntityDataStore<Persistable>

sessionForModel

fun sessionForModel(model: EntityModel): KotlinEntityDataStore<Persistable>

Companion Object Properties

logger

val logger: Logger

Extension Functions

declaredField

fun <T> Any.declaredField(name: String): DeclaredField<T>

Returns a DeclaredField wrapper around the declared (possibly non-public) instance field of the receiver object.

fun <T> Any.declaredField(clazz: KClass<*>, name: String): DeclaredField<T>

Returns a DeclaredField wrapper around the (possibly non-public) instance field of the receiver object, but declared in its superclass clazz.