postioned update on ORACLE
From: Elton Chan <97980015r_at_polyu.edu.hk>
Date: 1998/02/20
Message-ID: <6cjgoe$u6v1_at_hkpa05.polyu.edu.hk>#1/1
Date: 1998/02/20
Message-ID: <6cjgoe$u6v1_at_hkpa05.polyu.edu.hk>#1/1
Hi all,
Does anybody knows if positioned update can be enabled on ORACLE? I use the follow code and try to use postioned update on a ORACLE 7.0 server. However, it found that ORACLE does not support this feature.
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String URL = "jdbc:odbc:SUNSERVER";
String username = "";
String password = "";
Connection con = DriverManager.getConnection(URL, "", "");
DatabaseMetaData dmd = con.getMetaData();
if (dmd.supportsPositionedUpdate() == false) {
System.out.println("Positioned update is not supported by
this database.");
System.exit(-1);
}
Elton Received on Fri Feb 20 1998 - 00:00:00 CET
