We used something link this in conjunction with the Megathin driver (can't
remember where to download them)
package com.yourco;
import java.sql.*;
public class database {
static String url =
"jdbc:openlink://dbserver.yourco.com:5000/DSN=yourcoDSN/UID=sa/PWD=PASSWORD/
READONLY=YES/JDBCAGENT=jodbc/FBS=55";
public Connection get_connection() {
Connection c = null;
try {
Class.forName("openlink.megathin2.Driver");
c = DriverManager.getConnection(url);
}
catch(Exception e) {
System.err.println(e.toString());
}
return c;
}
public void return_connection(Connection c) {
try {
c.close();
}
catch(Exception e) {
System.err.println(e.toString());
}
return;
}
}
Alpesh Shah
Principal/Director of Technology
Revolutionary Systems, LLC
--------------------------------
Phone 908.668.4700
Fax 908.668.9045
E-Mail [EMAIL PROTECTED]
Web http://www.revsystems.com
--------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists