public abstract class DatabaseWorkHandler extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
DatabaseWorkHandler.ExecuteWork<T> |
static interface |
DatabaseWorkHandler.QueryWork<T> |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
executeInTransaction(DataSourceDescription dataSourceDesc,
DatabaseWorkHandler.ExecuteWork<T> realWork) |
static <T> T |
executeQueryInTransaction(DataSourceDescription dataSourceDesc,
DatabaseWorkHandler.QueryWork<T> realWork) |
public static <T> T executeInTransaction(DataSourceDescription dataSourceDesc, DatabaseWorkHandler.ExecuteWork<T> realWork) throws SQLException
SQLExceptionpublic static <T> T executeQueryInTransaction(DataSourceDescription dataSourceDesc, DatabaseWorkHandler.QueryWork<T> realWork) throws SQLException, IOException
Copyright © 2025 江苏南大先腾信息产业股份有限公司. All rights reserved.