On Dec 15, 8:46 am, kristianlm <[email protected]> wrote:
> I understand that the driver doesn't have to be
> documented if you're not supposed to be using
> it since it's going "low-level".
That's right. There is nothing useful you can do with the driver
anyway. That's what the JDBC API is for.
>
> But the driver does not seem to register itself,
> without Class.forName("SQLite.JDBCDriver"),
> I get "no suitable driver found".
>
Class.forName() is the convention for registering a JDBC driver.
> So that means we're not supposed to be using
> the sqlite back-end through JDBC at all? I'm
> not happy! Why is the JDBC built-in if no one is
> allowed to use it?
>
No it means call Class.forName(). Just get a Connection object as in
the examples in this thread and you can use JDBC with SQLite. This
is way JDBC always works
--
You received this message because you are subscribed to the Google
Groups "Android Developers" 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.google.com/group/android-developers?hl=en