JdbcBinaryAccessLayer

class JdbcBinaryAccessLayer(dataSource: DataSource, tableName: String = "yacla_config") : DBAccessLayer

Constructors

Link copied to clipboard
constructor(dataSource: DataSource, tableName: String = "yacla_config")

Functions

Link copied to clipboard
open override fun <T : Any> load(clazz: Class<T>, key: String): T?

Loads config for the given class and key.

Link copied to clipboard
open override fun <T : Any> save(clazz: Class<T>, key: String, config: T): Boolean

Saves the config instance to DB.