-
Notifications
You must be signed in to change notification settings - Fork 0
Utils
Oleksandr edited this page Apr 12, 2016
·
2 revisions
Contains couple functions for:
-
createSqlConn- fast SQL connection creation -
applyInVarsandgetInParams- handlingIN ()SQL predicates -
getQueryFromFile- get SQL string from file on disc, provide basic validation -
executeFileandexecute- handlingSql.rows()request with nullable Sql parameters (original Groovy Sql API throws couple weird Exceptions) Please refer to GroovyDoc for more information
Contains couple functions for:
-
walkXmlByPath- receivingList<NodeChild>of similar elements from existsing XML object. Please refer to [Transform XML][#transformXml] section. -
isPathInXmlTree- check if provided XML path exists for current element -
walkXmlByPathForValue- get value located in XML under provided XML path -
printNode- pretty print ofChildNode -
mapXml- create SQL naming from XML. For more information, please refer to [Map XML][#mapXml] section
Contains couple functions for:
-
printMap- pretty print ofMapobject as JSON string -
walkJsonByPath- receiving value of element from provided Path