public class ParsedSql extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getNamedParameterCount()
Each parameter name counts once; repeated occurrences do not count here.
|
String |
getOriginalSql() |
int[] |
getParameterIndexes(int parameterPosition)
Return the parameter indexes for the specified parameter.
|
List<String> |
getParameterNames()
Repeated occurrences of the same parameter name are included here.
|
int |
getTotalParameterCount()
Repeated occurrences of the same parameter name do count here.
|
int |
getUnnamedParameterCount() |
String |
toString()
Exposes the original SQL String.
|
public String getOriginalSql()
public List<String> getParameterNames()
public int[] getParameterIndexes(int parameterPosition)
parameterPosition - the position of the parameter
(as index in the parameter names List)public int getNamedParameterCount()
public int getUnnamedParameterCount()
public int getTotalParameterCount()
Copyright © 2023 Bstek. All rights reserved.