|
Content with label sql in Groovy (See content from all spaces)
Related Labels:
groovy
, cookbook
, xml
, query
Convert SQL Result To XML
How to convert SQL Result to XML ? import groovy.sql.Sql import groovy.xml.MarkupBuilder def schema = "PROD" def sql = Sql.newInstance("jdbc:oracle:thin:@hostname:1526:$ ", "scott", "tiger", "oracle.jdbc.driver.OracleDriver") / Request / def req = """ SELECT id, name, givenname ...
|
Tutorial 6 - Groovy SQL
Groovy SQL This section some content from this GroovySQL article http://www106.ibm.com/developerworks/java/library/jpg01115.html?ca=dgrlnxw0 7, by Andrew Glover. If some of the references to JDBC don't make sense, don't worry. There is one new language construct that is used ...
|
|
|