[tinysql] tinySQL compilation

Ruben Paulo Martins Trancoso rubentrancoso@ig.com.br
Tue, 22 Oct 2002 11:28:28 -0200


Hello friends,
 > my name is Ruben, I'm trying a thin log client that wants to use
 > tinySQL driver for text files, but I'm in some trouble with the
 > compilation of it.
 >
 > Today I have instaled om my machine the 1.4.1 java sdk and I download
 > tinySQL-10_30_2001.tar.gz from the site. When I run make from the
 > /home/ruben/programacao/java/logui/tinySQL/src/ORG/as220/tinySQL
 > directory I have the following errors:
 >
 > ---------------------------------------------------------------------
 >
 > [root@miguelito tinySQL]# make clean
 > rm -f *.class
 > rm -f ../../../../classes/ORG/as220/tinySQL/*.class
 > rm -f ../../../../classes/*.class
 > rm -f ../../../../classes/tinySQL.jar
 > [root@miguelito tinySQL]# make all
 > mkdir -p ../../../../classes/ORG/as220/tinySQL
 > javac -d ../../../../classes *.java
 > tinySQLStatement.java:45: ORG.as220.tinySQL.tinySQLStatement should be
 > declared abstract; it does not define getMoreResults(int) in
 > ORG.as220.tinySQL.tinySQLStatement
 > public class tinySQLStatement implements java.sql.Statement {
 >         ^
 > tinySQLResultSet.java:69: ORG.as220.tinySQL.tinySQLResultSet should be
 > declared abstract; it does not define getURL(int) in
 > ORG.as220.tinySQL.tinySQLResultSet
 > public class tinySQLResultSet implements java.sql.ResultSet {
 >         ^
 > dbfFileConnection.java:35: ORG.as220.tinySQL.dbfFileConnection should be
 > declared abstract; it does not define setHoldability(int) in
 > ORG.as220.tinySQL.tinySQLConnection
 > public class dbfFileConnection extends tinySQLConnection {
 >         ^
 > tinySqlDatabaseMetaData.java:39:
 > ORG.as220.tinySQL.tinySqlDatabaseMetaData should be declared abstract;
 > it does not define supportsSavepoints() in
 > ORG.as220.tinySQL.tinySqlDatabaseMetaData
 > public class tinySqlDatabaseMetaData implements 
java.sql.DatabaseMetaData {
 >         ^
 > textFileConnection.java:42: ORG.as220.tinySQL.textFileConnection should
 > be declared abstract; it does not define setHoldability(int) in
 > ORG.as220.tinySQL.tinySQLConnection
 > public class textFileConnection extends tinySQLConnection {
 >         ^
 > Note: tinySQLResultSet.java uses or overrides a deprecated API.
 > Note: Recompile with -deprecation for details.
 > 5 errors
 > make: *** [all] Error 1
 > [root@miguelito tinySQL]#
 >
 > 
--------------------------------------------------------------------------
 >
 > I do manual compilatiom to all files that was possible, but the
 > remaining ones canot be compiled:
 >
 > tinySqlDatabaseMetaData.java
 > tinySQLResultSet.java
 > textFileConnection.java
 > dbfFileConnection.java
 >
 > please can you give some direction on fix it?
 > thanx
 > Ruben
 >