java.lang.Object
cn.afternode.commons.database.HikariDatabaseManager
- 所有已实现的接口:
IDatabaseManager
ConnectionProvider with HikariCP
-
方法详细资料
-
builder
-
setup
- 指定者:
setup在接口中IDatabaseManager
-
close
public void close()从接口复制的说明:IDatabaseManagerClose current database- 指定者:
close在接口中IDatabaseManager
-
getConnection
从接口复制的说明:IDatabaseManagerCreate new connection- 指定者:
getConnection在接口中IDatabaseManager- 抛出:
SQLException
-
newTable
从接口复制的说明:IDatabaseManagerCreate a table with provided class- 指定者:
newTable在接口中IDatabaseManager- 参数:
table- Table data class, must have TableSerialization.Name annotation- 抛出:
SQLException- 另请参阅:
-
insert
从接口复制的说明:IDatabaseManagerInsert object into created table- 指定者:
insert在接口中IDatabaseManager- 参数:
obj- Data class object, must have SQLSerialization.Table annotation- 抛出:
SQLException- 另请参阅:
-