debugging
hi, heres a code i've been trying to write to connect to an sql database from oracle, i keep getting an incompatibility error on line 25, column 49. can anybody help? thanks
package Trial_Package; import java.sql.*;
public class Trial{ public Trial() {
public static void main(String[] args)
Trialconnection = null; try {-
String driverName = "com.jnetdirect.jsql.JSQLDriver";// NetDirect JDBC driver
String serverName = "192.168.0.8";
String portNumber = "80";
String mydatabase = serverName + ":" + portNumber;
String url= "jdbc:JSQLConnect://" + mydatabase;// a JDBC url
String username = "sysadmin";
String password = "";
// Load the JDBC driver Class.forName(driverName);
// Create a connection to the database
connection = DriverManager.getconnection("jdbc:3SQLConnect://", "sysadmin",
} catch (ClassNotFoundException e) {
// Could not find the database driver catch (SQLException e) {// Could not connect to the database

