|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.midao.jdbc.core.handlers.utils.CallableUtils
public class CallableUtils
Collection of utilities used during Stored Procedure/Function call
Constructor Summary | |
---|---|
CallableUtils()
|
Method Summary | |
---|---|
static java.lang.String |
getStoredProcedureFullName(java.lang.String decodedSql)
Returns full function name. |
static java.lang.String |
getStoredProcedureShortNameFromSql(java.lang.String decodedSql)
Returns short function name. |
static boolean |
isFunctionCall(java.lang.String decodedSql)
Checks if SQL String represents function call |
static QueryParameters |
updateDirections(QueryParameters original,
QueryParameters source)
Clones @original and updates it's direction - taken from @source. |
static QueryParameters |
updateDirectionsByName(QueryParameters original,
QueryParameters source)
Same as @updateDirections but updates based not on position but on key |
static QueryParameters |
updateTypes(QueryParameters original,
QueryParameters source)
Clones @original and updates it's types - taken from @source. |
static QueryParameters |
updateTypesByName(QueryParameters original,
QueryParameters source)
Same as @updateTypes but updates based not on position but on key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallableUtils()
Method Detail |
---|
public static boolean isFunctionCall(java.lang.String decodedSql)
decodedSql
- SQL String which would be checked
public static java.lang.String getStoredProcedureShortNameFromSql(java.lang.String decodedSql)
decodedSql
- SQL String which would be processed
public static java.lang.String getStoredProcedureFullName(java.lang.String decodedSql)
decodedSql
- SQL String which would be processed
public static QueryParameters updateDirections(QueryParameters original, QueryParameters source)
original
- QueryParameters which would be updatedsource
- QueryParameters directions of which would be read
public static QueryParameters updateTypes(QueryParameters original, QueryParameters source)
original
- QueryParameters which would be updatedsource
- QueryParameters types of which would be read
public static QueryParameters updateDirectionsByName(QueryParameters original, QueryParameters source)
original
- QueryParameters which would be updatedsource
- QueryParameters directions of which would be read
public static QueryParameters updateTypesByName(QueryParameters original, QueryParameters source)
original
- QueryParameters which would be updatedsource
- QueryParameters types of which would be read
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |