JavaScript is disabled on your browser.
Skip navigation links
Module
Package
Class
Use
Tree
Index
Help
Summary:
Field
Required
Optional
Detail:
Field
Element
Summary:
Field |
Required |
Optional
Detail:
Field |
Element
SEARCH
Module
bus.starter
Package
org.miaixz.bus.starter.jdbc
Annotation Interface DataSource
@Documented
@Retention
(
RUNTIME
)
@Target
({
METHOD
,
TYPE
,
PARAMETER
})
public @interface
DataSource
多数据源支持
Since:
Java 17+
Author:
Kimi Liu
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
boolean
clear
是否在方法执行后清除数据源设置
String
value
数据源名称,为空时使用默认数据源
Element Details
value
String
value
数据源名称,为空时使用默认数据源
Default:
""
clear
boolean
clear
是否在方法执行后清除数据源设置
Default:
true