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

Raymond Camden commented on CB-103:
-----------------------------------

Filip, I don't think anyone is saying you couldn't do it via JS simply enough. 
I was more worried about the case where you may have a large db you want to use 
with the application. As an example, I shipped a db with 1k words in it for my 
Hangman game built in AIR. That db was only 37k, so easy enough to ship with 
the package, but a thousand inserts on app startup (even once) would probably 
be pretty darn slow.
                
> 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

        

Reply via email to