META-INF.dsproxy.tld Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datasource-proxy Show documentation
Show all versions of datasource-proxy Show documentation
Provide a datasource proxy that can inject your own logic into all queries.
1.0
1.2
dsproxy
http://www.ttddyy.net/dsproxy/tags
datasource-proxy tag library
metrics
net.ttddyy.dsproxy.support.tags.MetricsTag
empty
Retrieve QueryCount values from QueryCountHolder. You need to register DataSourceQueryCountListener to use this tag.
dataSource
false
Specify a datasource name to display the metric.
If not specified, metric value will be summed up from all datasource.
metric
true
metric to display.
Needs to be one of the followings:
"select": num of select queries
"insert": num of insert queries
"update": num of update queries
"delete": num of delete queries
"other" : num of other queries
"statement" : total num of statements
"prepared" : total num of prepared statements
"callable" : total num of callable statements
"total" : total num of queries
"success" : num of success queries
"failure" : num of failure queries
"time": query execution time