You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Ben Combee (Commented) (JIRA)" <ji...@apache.org> on 2012/01/31 17:07:17 UTC

[jira] [Commented] (CB-103) Support opening a database that connects to an existing file

    [ https://issues.apache.org/jira/browse/CB-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196994#comment-13196994 ] 

Ben Combee commented on CB-103:
-------------------------------

This has been a common request on webOS for a while, but we've not implemented it yet.  The use case includes apps like Bible readers or TV listings, ones where not only do they want to ship a lot of data in the app package, but they also want to be able to download a new bundle of data as a single compressed file that can be immediately integrated.
                
> Support opening a database that connects to an existing file
> ------------------------------------------------------------
>
>                 Key: CB-103
>                 URL: https://issues.apache.org/jira/browse/CB-103
>             Project: Apache Callback
>          Issue Type: Wish
>            Reporter: Raymond Camden
>            Priority: Minor
>
> Under Adobe AIR, you can open a connection to a SQLite db and point to an existing file. The benefit of this is that your application can ship a database seeded with data. Without this support, your application has to initialize the db via scripting. While not difficult, it does increase the application's first run time and also complicates the code unnecessarily. I understand that this isn't per the Web SQL spec, http://dev.w3.org/html5/webdatabase, but it could certainly be useful.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira