import data from oracle using groovy

Generic selectors
Exact matches only
Search title only
Search in content
Search in all posts
Search in pages
Answers
Questions
141 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?

Asked question