David Crawshaw wrote:
> Rasha <[EMAIL PROTECTED]> wrote:
> > New NestedVM release is not working here - getting this:
> > java.sql.SQLException: out of memory
>
> What a strange error. What code are you using to invoke the JDBC connection?
>
> I will download JDK1.6 and make sure that's not the problem.
>
> d
Code is pretty nuch the same as in the usage example:
public static void main(String[] args) {
try {
String fileName = "c:/test.db3";
// Driver to Use
// http://www.zentus.com/sqlitejdbc/index.html
Class.forName("org.sqlite.JDBC");
// out of memory error here:
Connection conn =
DriverManager.getConnection("jdbc:sqlite:"+fileName);
conn.close();
}
catch (Exception e) {
System.out.println(e.getMessage());
System.out.println(e.toString());
}
}
Tested with JDK 1.5 also... File is a valid 3.38 database created with
ADO .NET SQLite provider. SQLite Spy also reads it fine... Same project
works fine with native library.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLiteJDBC" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups-beta.google.com/group/sqlitejdbc?hl=en
-~----------~----~----~----~------~----~------~--~---