Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 13352 invoked from network); 20 Nov 2006 22:56:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2006 22:56:30 -0000 Received: (qmail 5990 invoked by uid 500); 20 Nov 2006 22:28:38 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 5946 invoked by uid 500); 20 Nov 2006 22:28:38 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 5934 invoked by uid 99); 20 Nov 2006 22:28:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2006 14:28:38 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2006 14:28:27 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B58D71431A for ; Mon, 20 Nov 2006 14:28:07 -0800 (PST) Message-ID: <7407518.1164061687633.JavaMail.jira@brutus> Date: Mon, 20 Nov 2006 14:28:07 -0800 (PST) From: "Piyush Agarwal (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (DAYTRADER-14) Include sql script in the ear and use a gbean to create tables etc In-Reply-To: <19165087.1158188902293.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DAYTRADER-14?page=all ] Piyush Agarwal updated DAYTRADER-14: ------------------------------------ Attachment: daytrader-14.patch.11202006 Left in an extra print statement which was misleading, now removed. > Include sql script in the ear and use a gbean to create tables etc > ------------------------------------------------------------------ > > Key: DAYTRADER-14 > URL: http://issues.apache.org/jira/browse/DAYTRADER-14 > Project: DayTrader > Issue Type: Improvement > Components: EJB Tier > Affects Versions: 1.2 > Reporter: David Jencks > Attachments: d-j-plan.xml, DAYTRADER-14.patch, daytrader-14.patch.1019, daytrader-14.patch.11152006, daytrader-14.patch.11202006, daytrader-14.patch.11202006 > > > You can use the DatabaseIntitializationGBean (GERONIMO-2396) in a g. plan and include the sql script in the ejb module so the database will get created if not already present. This is way better than the previous hack of including a pre-built database in the car file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira