Make your own free website on Tripod.com

InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: InstandDB on a Mac


Aydin

I don't know a lot about MACs, but it looks as if the version of the 
JDK being used doesn't understand new API calls added in JDBC 2. If 
there isn't a more up to date JDK available then I think you'll simply 
have to comment out the relevant lines. Alternatively, you could cast 
try defining "rs" as an "idbResultsSet".

Pete

----- Original Message -----
From: Aydin Kurt-Elli <aydin@ednet.co.uk>
Date: Friday, December 29, 2000 12:52 pm
Subject: InstantDB: InstandDB on a Mac

> Hello All,
> 
> Annoying Newbie question coming up.  I am trying to compile the
> ScriptTool.java on MacOS 9 using the MRJ SDK 2.2 and get the errors
> attached at the end of this email.
> 
> With verbose debugging, it shows that it loads up the sql drivers from
> the MRJ classes, and all the relevant jar files are in the 
> classpath at
> compile time.
> 
> Has anyone got this to compile before, and/or am I doing something
> devastatingly stupid!
> 
> Kind rgds
> Aydin
> 
> 
> 
> 
> 
> 
> Executing:  Javac -classpath /Macintosh HD/System 
> Folder/Extensions/MRJLibraries/MRJClasses/JDKClasses.zip:/Macintosh 
HD/System
> Folder/Extensions/MRJ
> Libraries/MRJClasses/JDKToolsClasses.zip:/Macintosh HD/System
> Folder/Extensions/MRJ Libraries/MRJClasses/MRJClasses.zip:/Macintosh
> HD/System Folder/Extensions/MRJ
> Libraries/MRJClasses/MRJSDKClasses.zip:/Macintosh HD/System
> Folder/Extensions/MRJ Libraries/MRJClasses/QTJava.zip:/Macintosh
> HD/System Folder/Extensions/MRJ Libraries/MRJClasses/:/Macintosh
> HD/java/idb3_25 Folder/Classes/idb.jar:/Macintosh HD/java/idb3_25
> Folder/Classes/idbexmpl.jar:/Macintosh HD/java/idb3_25
> Folder/Classes/jta-spec1_0_1.jar /Macintosh HD/java/idb3_25
> Folder/Examples/ScriptTool.java 
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:298: Method
> cancelRowUpdates() not found in interface java.sql.ResultSet.
>                            rs.cancelRowUpdates();
>                                               ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:305: Method
> deleteRow() not found in interface java.sql.ResultSet.
>                            rs.deleteRow();
>                                        ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:308: Method
> executeBatch() not found in interface java.sql.Statement.
>                            if (stmt != null) stmt.executeBatch();
>                                                               ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:309: Method
> executeBatch() not found in interface java.sql.PreparedStatement.
>                            if (pstmt != null) pstmt.executeBatch();
>                                                                 ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:317: Method
> insertRow() not found in interface java.sql.ResultSet.
>                            rs.insertRow();
>                                        ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:345: Method
> updateRow() not found in interface java.sql.ResultSet.
>                            rs.updateRow();
>                                        ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:453: Method
> addBatch(java.lang.String) not found in interface java.sql.Statement.
>                            stmt.addBatch (sql);
>                                          ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:489: Method
> absolute(int) not found in interface java.sql.ResultSet.
>                            result = rs.absolute (rowNum);
>                                                 ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:492: Method
> relative(int) not found in interface java.sql.ResultSet.
>                            result = rs.relative (rowNum);
>                                                 ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:498: Method
> previous() not found in interface java.sql.ResultSet.
>                            result = rs.previous();
>                                                ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:501: Method
> first() not found in interface java.sql.ResultSet.
>                            result = rs.first();
>                                             ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:504: Method
> last() not found in interface java.sql.ResultSet.
>                            result = rs.last();
>                                            ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:507: Method
> beforeFirst() not found in interface java.sql.ResultSet.
>                            rs.beforeFirst();
>                                          ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:510: Method
> afterLast() not found in interface java.sql.ResultSet.
>                            rs.afterLast();
>                                        ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:513: Method
> moveToInsertRow() not found in interface java.sql.ResultSet.
>                            rs.moveToInsertRow();
>                                              ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:516: Method
> moveToCurrentRow() not found in interface java.sql.ResultSet.
>                            rs.moveToCurrentRow();
>                                               ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:521: Method
> getRow() not found in interface java.sql.ResultSet.
>                            " row="+rs.getRow()+
>                                             ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:522: Method
> isBeforeFirst() not found in interface java.sql.ResultSet.
>                            " beforeFirst="+rs.isBeforeFirst()+
>                                                            ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:523: Method
> isAfterLast() not found in interface java.sql.ResultSet.
>                            " afterLast="+rs.isAfterLast()+
>                                                        ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:524: Method
> isFirst() not found in interface java.sql.ResultSet.
>                            " first="+rs.isFirst()+
>                                                ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:525: Method
> isLast() not found in interface java.sql.ResultSet.
>                            " last="+rs.isLast());
>                                              ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:636: Method
> addBatch() not found in interface java.sql.PreparedStatement.
>                            pstmt.addBatch();
>                                          ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:652: Method
> updateObject(java.lang.String, org.enhydra.instantdb.TestObject) not
> found in interface java.sql.ResultSet.
>                            rs.updateObject (colname, test1);
>                                            ^
> /Macintosh HD/java/idb3_25 Folder/Examples/ScriptTool.java:655: Method
> updateString(java.lang.String, java.lang.String) not found in 
> interface java.sql.ResultSet.
>                            rs.updateString (colname, value);
>                                            ^
> 24 errors
> Done
> -------------------------------------------------------------------
> ----------
> To unsubscribe from this mailing list, send email to 
> majordomo@enhydra.orgwith the text "unsubscribe instantdb" in the 
> body of the email.
> If you have other questions regarding this mailing list, send 
> email to
> the list admin at owner-instantdb@enhydra.org.
> 

-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.