You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Piyush Agarwal (JIRA)" <de...@geronimo.apache.org> on 2006/11/15 17:44:37 UTC

[jira] Updated: (DAYTRADER-14) Include sql script in the ear and use a gbean to create tables etc

     [ http://issues.apache.org/jira/browse/DAYTRADER-14?page=all ]

Piyush Agarwal updated DAYTRADER-14:
------------------------------------

    Attachment: daytrader-14.patch.11152006

Based on the last comments by Chris, I have added the facility for failed SQL statements to be written out on the browser screen. The user is instructed to look up the exception details related to this SQL failure in the log.



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