Skip to Content.
Sympa Menu

freetds - JDBC

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Jai Ganesh" <heysokka AT yahoo.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: JDBC
  • Date: Sat, 1 Sep 2001 04:59:01 -0400


Dear Friends,

My MS SQL Server 7.0 is running on one IP and LInux with Jakarta is
running in another IP. From Jakarta i want to access MS SQL 7.0. I am
trying to install freetds_jdbc driver. But i cannot able to compile.


The methods i followed is :-

1. Untarred the file in a directory

2. entered that directory

3. make
4. It was compiling many .java files and copied to com/...../
5. But for one file the following error occurs :-

javac -g -d . DatabaseMetaData.java
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean
othersDeletesAreVisible(int) fro
m interface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean supportsResultSetType(int)
from
interface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean updatesAreDetected(int)
from int
erface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean
othersUpdatesAreVisible(int) fro
m interface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean deletesAreDetected(int)
from int
erface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean ownInsertsAreVisible(int)
from i
nterface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean supportsBatchUpdates()
from inte
rface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean ownDeletesAreVisible(int)
from i
nterface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean
supportsResultSetConcurrency(int
, int) from interface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define java.sql.ResultSet
getUDTs(java.lang.Str
ing, java.lang.String, java.lang.String, int[]) from interface
java.sql.Database
MetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define java.sql.Connection
getConnection() from
interface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean ownUpdatesAreVisible(int)
from i
nterface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean insertsAreDetected(int)
from int
erface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
DatabaseMetaData.java:66: class com.internetcds.jdbc.tds.DatabaseMetaData
must b
e declared abstract. It does not define boolean
othersInsertsAreVisible(int) fro
m interface java.sql.DatabaseMetaData.
public class DatabaseMetaData implements java.sql.DatabaseMetaData
^
14 errors
make: *** [com/internetcds/jdbc/tds/DatabaseMetaData.class] Error 1




KINDLY LET ME KNOW HOW TO USE UNITTEST ....for database connectivity


Regards,
Jai Ganesh



  • JDBC, Jai Ganesh, 09/01/2001
    • <Possible follow-up(s)>
    • Re: JDBC, Bob Kline, 09/01/2001
    • Re: JDBC, Curt Hagenlocher, 09/01/2001

Archive powered by MHonArc 2.6.24.

Top of Page