Unable to connect to oracle database from groovy
问题 Hi i am unable to connect to oracle database in groovy . I have used the following code in groovy console but getting the following compilation error unable to resolve class oracle.jdbc.driver.OracleTypes at line: 5, column: 1 I have used the following code import java.sql.Connection import java.sql.DriverManager import javax.sql.DataSource import groovy.sql.Sql import oracle.jdbc.driver.OracleTypes sql = Sql.newInstance("jdbc:oracle:thin:@localhost:1521:databasename", "username", "password",