import data from oracle using groovy

3.72K viewsScripting
0

HI, ALL
I  need import data from oracle database.
I tried this
def  url= xxx
def username = xxx
def password = xxx
def driver = “oracle.jdbc.driver.OracleDriver”
import groovy.sql
def sql = Sql.newInstance(url, username, password, driver)
Mistake
“unable to resolve class groovy.sql”
How i can import  data from Oracle?
Can I  result of the request to set the matrix?

Alexey Asked question February 13, 2020