类 FinalSqlDevDataSource
java.lang.Object
top.lingkang.finalsql.dev.FinalSqlDevDataSource
- 所有已实现的接口:
Wrapper,CommonDataSource,DataSource
- 作者:
- lingkang Created by 2022/4/17 开发专用dev,未实现连接池,每次调用均会初始化连接,不保证性能。 用完注意关闭连接。
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getConnection(String username, String password) intbooleanisWrapperFor(Class<?> iface) voidsetLoginTimeout(int seconds) voidsetLogWriter(PrintWriter out) <T> T从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 javax.sql.CommonDataSource
createShardingKeyBuilder从接口继承的方法 javax.sql.DataSource
createConnectionBuilder
-
构造器详细资料
-
FinalSqlDevDataSource
public FinalSqlDevDataSource() -
FinalSqlDevDataSource
-
-
方法详细资料
-
getConnection
- 指定者:
getConnection在接口中DataSource- 抛出:
SQLException
-
getConnection
- 指定者:
getConnection在接口中DataSource- 抛出:
SQLException
-
unwrap
- 指定者:
unwrap在接口中Wrapper- 抛出:
SQLException
-
isWrapperFor
- 指定者:
isWrapperFor在接口中Wrapper- 抛出:
SQLException
-
getLogWriter
- 指定者:
getLogWriter在接口中CommonDataSource- 指定者:
getLogWriter在接口中DataSource- 抛出:
SQLException
-
setLogWriter
- 指定者:
setLogWriter在接口中CommonDataSource- 指定者:
setLogWriter在接口中DataSource- 抛出:
SQLException
-
setLoginTimeout
- 指定者:
setLoginTimeout在接口中CommonDataSource- 指定者:
setLoginTimeout在接口中DataSource- 抛出:
SQLException
-
getLoginTimeout
- 指定者:
getLoginTimeout在接口中CommonDataSource- 指定者:
getLoginTimeout在接口中DataSource- 抛出:
SQLException
-
getParentLogger
- 指定者:
getParentLogger在接口中CommonDataSource- 抛出:
SQLFeatureNotSupportedException
-