yacla-ext-db
Toggle table of contents
2.0.0+alpha.1
jvm
Platform filter
jvm
Switch theme
Search in API
yacla-ext-db
yacla-ext-db
/
net.ririfa.yacla.ext.db.internal.impl
/
JdbcBinaryAccessLayer
Jdbc
Binary
Access
Layer
class
JdbcBinaryAccessLayer
(
dataSource
:
DataSource
,
tableName
:
String
=
"yacla_config"
)
:
DBAccessLayer
Members
Constructors
Jdbc
Binary
Access
Layer
Link copied to clipboard
constructor
(
dataSource
:
DataSource
,
tableName
:
String
=
"yacla_config"
)
Functions
load
Link copied to clipboard
open
override
fun
<
T
:
Any
>
load
(
clazz
:
Class
<
T
>
,
key
:
String
)
:
T
?
Loads config for the given class and key.
save
Link copied to clipboard
open
override
fun
<
T
:
Any
>
save
(
clazz
:
Class
<
T
>
,
key
:
String
,
config
:
T
)
:
Boolean
Saves the config instance to DB.