Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E2BB7118 for ; Mon, 5 Dec 2011 16:21:01 +0000 (UTC) Received: (qmail 73288 invoked by uid 500); 5 Dec 2011 16:21:01 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 73262 invoked by uid 500); 5 Dec 2011 16:21:01 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 73249 invoked by uid 99); 5 Dec 2011 16:21:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2011 16:21:01 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2011 16:21:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 02C88C646A for ; Mon, 5 Dec 2011 16:20:40 +0000 (UTC) Date: Mon, 5 Dec 2011 16:20:40 +0000 (UTC) From: "Patrick Mueller (Commented) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <691707679.41462.1323102040012.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <512726156.41331.1323098560020.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-103) Support opening a database that connects to an existing file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162863#comment-13162863 ] Patrick Mueller commented on CB-103: ------------------------------------ Sounds pretty useful. My main worry is how portable these sqlite binary files are: - platform-to-platform - version-to-version Even it the files are portable today across a large # of platforms and versions of platforms, could this change in the future? The alternative would seem to be some kind of database "dump" format, which would obviously be slower to process, but likely more "portable". > 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