Skip to content

Instantly share code, notes, and snippets.

@zygm0nt
Created November 2, 2011 14:25
Show Gist options
  • Save zygm0nt/1333768 to your computer and use it in GitHub Desktop.
Save zygm0nt/1333768 to your computer and use it in GitHub Desktop.
soapui and JDBC drivers
if (context.sql == null) {
def driver = 'oracle.jdbc.OracleDriver'
com.eviware.soapui.support.GroovyUtils.registerJdbcDriver( driver )
def sql = Sql.newInstance('jdbc:oracle:thin:' + dbUri, driver)
context.setProperty('sql', sql)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment