I should follow up that it no longer has the problem on CreMe 4.0B10 after doing my 
usual process of running build/switchToJDK11.bat and adding a target="1.1" to the 
javac tags in build.xml.

> -----Original Message-----
> From: Sheldon Young 
> Sent: Tuesday, March 23, 2004 9:17 AM
> To:   Sheldon Young; '[EMAIL PROTECTED]'
> Subject:      RE: [Hsqldb-developers] CrEme 4.0 fails to connect
> 
> I'm please to find that 1.7.2 RC4 no longer has this problem. 
> 
> On a seperate note, I did find a NullPointerException was thrown if the database 
> file had zero length (such as from a program crash) but it seems a very minor issue.
> 
>       -----Original Message-----
>       From:   Sheldon Young 
>       Sent:   Friday, March 19, 2004 3:45 PM
>       To:     '[EMAIL PROTECTED]'
>       Subject:        RE: [Hsqldb-developers] CrEme 4.0 fails to connect
> 
>       I'm running 1.7.2 RC3 with the hsqldb.jar included in the lib/ directory.  A 
> rebuild with the target switched to 1.1 and J2SDK 1.4.2_02 results in the same 
> behaviour.  The code is attempting to connect to a local cached database 
> ("jdbc:hsqldb:testdb"). The org.hsqldb.jdbcDriver class was loaded fine a few lines 
> before that. 
> 
>       The only thing that comes to mind is that there's a difference in the 
> Connection interface implemented by jdbcConnection.  A decompile of the Connection 
> class in CreMe looks like this:
> 
>       interface java.sql.Connection{
>           public static final int TRANSACTION_NONE;
>           public static final int TRANSACTION_READ_UNCOMMITTED;
>           public static final int TRANSACTION_READ_COMMITTED;
>           public static final int TRANSACTION_REPEATABLE_READ;
>           public static final int TRANSACTION_SERIALIZABLE;
>           public abstract void clearWarnings();
>              throws java/sql/SQLException
>           public abstract void close();
>              throws java/sql/SQLException
>           public abstract void commit();
>              throws java/sql/SQLException
>           public abstract java.sql.Statement createStatement();
>              throws java/sql/SQLException
>           public abstract boolean getAutoCommit();
>              throws java/sql/SQLException
>           public abstract java.lang.String getCatalog();
>              throws java/sql/SQLException
>           public abstract java.sql.DatabaseMetaData getMetaData();
>              throws java/sql/SQLException
>           public abstract int getTransactionIsolation();
>              throws java/sql/SQLException
>           public abstract java.sql.SQLWarning getWarnings();
>              throws java/sql/SQLException
>           public abstract boolean isClosed();
>              throws java/sql/SQLException
>           public abstract boolean isReadOnly();
>              throws java/sql/SQLException
>           public abstract java.lang.String nativeSQL(java.lang.String);
>              throws java/sql/SQLException
>           public abstract java.sql.CallableStatement prepareCall(java.lang.String);
>              throws java/sql/SQLException
>           public abstract java.sql.PreparedStatement 
> prepareStatement(java.lang.String
>       );
>              throws java/sql/SQLException
>           public abstract void rollback();
>              throws java/sql/SQLException
>           public abstract void setAutoCommit(boolean);
>              throws java/sql/SQLException
>           public abstract void setCatalog(java.lang.String);
>              throws java/sql/SQLException
>           public abstract void setReadOnly(boolean);
>              throws java/sql/SQLException
>           public abstract void setTransactionIsolation(int);
>              throws java/sql/SQLException
>       }
> 
> 
>               -----Original Message-----
>               From:   fredt [SMTP:[EMAIL PROTECTED]
>               Sent:   Friday, March 19, 2004 3:24 PM
>               To:     Sheldon Young
>               Subject:        Re: [Hsqldb-developers] CrEme 4.0 fails to connect
> 
>               Unable to create a connection to what?
> 
>               Which version are you using and how have you recompiled the sources?
> 
>               Fred
> 
>               ----- Original Message ----- 
>               From: "Sheldon Young" <[EMAIL PROTECTED]>> 
>               To: <[EMAIL PROTECTED]>
>               Sent: 19 March 2004 16:59
>               Subject: [Hsqldb-developers] CrEme 4.0 fails to connect
> 
> 
>               The CrEme 4.0 virtual machine for PocketPCs is unable to create a 
> conection
>               because of an incompatible class change error that gets thrown in the
>               jdbcConnection constructor.  It does not seem to matter if the virtual
>               machine is run in Personal Java mode or not.
> 
>               Anybody have any thoughts?
> 
> 
>               NSIcom Ltd., CrEme(tm) Evaluation Version
>               CrE-ME J2ME(tm)
>               CrE-ME V4.00 B10.031202 02-Dec-2003
>                 MemoryLimit=27776Kb
>               EBCI(TM) Interpreter ARM-EVC-XSCL V1.05,
>               Copyright 1998-2003 by Bytecodes, Inc.
>               writeScript
>               java.sql.SQLException: General error:
>               java.lang.IncompatibleClassChangeError: Unimplemented interface method
>               at org.hsqldb.jdbc.jdbcUtil.sqlException()
>               at org.hsqldb.jdbc.jdbcConnection.<init>()
>               at org.hsqldb.jdbcDriver.getConnection()
>               at org.hsqldb.jdbcDriver.connect()
>               at java.sql.DriverManager.getConnection()
>               at java.sql.DriverManager.getConnection()
> 
> 
> 
>               -------------------------------------------------------
>               This SF.Net email is sponsored by: IBM Linux Tutorials
>               Free Linux tutorial presented by Daniel Robbins, President and CEO of
>               GenToo technologies. Learn everything from fundamentals to system
>               administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick
>               _______________________________________________
>               hsqldb-developers mailing list
>               [EMAIL PROTECTED]
>               https://lists.sourceforge.net/lists/listinfo/hsqldb-developers
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
hsqldb-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers

Reply via email to