On Dec 22 2009, 12:50 pm, jotobjects <[email protected]> wrote:
> On Dec 19, 2:05 am, kristianlm <[email protected]> wrote:
>
> > hi Elliott,
>
> > what exactly does it mean that the driver is unsupported and that
> > it shouldn't be used?
>
> The SQLite driver could change in a future a release.  It is
> undocumented because you should not rely on the API for the driver.
> That means you should not call any methods on the driver (you never
> need to call the driver if you are using JDBC).
>
>
>
> > are you saying that JDBC should not be used at all? without
> > loading the jdbc driver with Class.forName() it isn't registered.
>
> No, JDBC is part of the public API for Android and therefore it is
> supported and  you can use it.
>
>
>
> > that concludes the code snippet in Joerg's post above is
> > not allowed?
>
> No, the example only uses the public JDBC API so therefore it is
> allowed.

no, it uses reflection to access an undocumented class (the JDBC
driver). that's not okay.

 --elliott
-- 
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

Reply via email to