public final class HmilySQLUtil extends Object
| 构造器和说明 |
|---|
HmilySQLUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getExactlyExpression(String value)
Get exactly SQL expression.
|
static Number |
getExactlyNumber(String value,
int radix)
Get exactly number value and type.
|
static String |
getExactlyValue(String value)
Get exactly value for SQL expression.
|
static String |
getExpressionWithoutOutsideParentheses(String value)
Get exactly SQL expression without outside parentheses.
|
static boolean |
isReadOnly(HmilyStatement sqlStatement)
Determine whether SQL is read-only.
|
public static Number getExactlyNumber(String value, int radix)
value - string to be convertedradix - radixpublic static String getExactlyValue(String value)
remove special char for SQL expression
value - SQL expressionpublic static String getExactlyExpression(String value)
remove space for SQL expression
value - SQL expressionpublic static String getExpressionWithoutOutsideParentheses(String value)
value - SQL expressionpublic static boolean isReadOnly(HmilyStatement sqlStatement)
sqlStatement - SQL statementCopyright © 2022 dromara. All rights reserved.