public class LockStoreSqls extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ALL_COLUMNS
The constant ALL_COLUMNS.
|
static String |
BATCH_DELETE_LOCK_SQL
The constant BATCH_DELETE_LOCK_SQL.
|
static String |
CHECK_LOCK_SQL
The constant CHECK_LOCK_SQL.
|
static String |
DELETE_LOCK_SQL
The constant DELETE_LOCK_SQL.
|
static String |
IN_PARAMS_PLACEHOLD
The constant IN_PARAMS_PLACEHOLD.
|
static String |
INSERT_LOCK_SQL_MYSQL
The constant INSERT_LOCK_SQL_MYSQL.
|
static String |
INSERT_LOCK_SQL_ORACLE
The constant INSERT_LOCK_SQL_ORACLE.
|
static String |
LOCK_TABLE_PLACEHOLD
The constant LOCK_TABLE_PLACEHOLD.
|
static String |
QUERY_LOCK_SQL
The constant QUERY_LOCK_SQL.
|
| 构造器和说明 |
|---|
LockStoreSqls() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getBatchDeleteLockSql(String lockTable,
String paramPlaceHold,
String dbType)
Get batch delete lock sql string.
|
static String |
getCheckLockableSql(String lockTable,
String paramPlaceHold,
String dbType)
Get check lock sql string.
|
static String |
getDeleteLockSql(String lockTable,
String dbType)
Get delete lock sql string.
|
static String |
getInsertLockSQL(String lockTable,
String dbType)
Get insert lock sql string.
|
static String |
getQueryLockSql(String lockTable,
String dbType)
Get query lock sql string.
|
public static final String LOCK_TABLE_PLACEHOLD
public static final String IN_PARAMS_PLACEHOLD
public static final String INSERT_LOCK_SQL_MYSQL
public static final String INSERT_LOCK_SQL_ORACLE
public static final String DELETE_LOCK_SQL
public static final String BATCH_DELETE_LOCK_SQL
public static String getInsertLockSQL(String lockTable, String dbType)
lockTable - the lock tabledbType - the db typepublic static String getDeleteLockSql(String lockTable, String dbType)
lockTable - the lock tabledbType - the db typepublic static String getBatchDeleteLockSql(String lockTable, String paramPlaceHold, String dbType)
lockTable - the lock tableparamPlaceHold - the param place holddbType - the db typepublic static String getQueryLockSql(String lockTable, String dbType)
lockTable - the lock tabledbType - the db typeCopyright © 2019 Seata. All rights reserved.