geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <...@geronimo.apache.org>
Subject [jira] Updated: (DAYTRADER-14) Include sql script in the ear and use a gbean to create tables etc
Date Wed, 13 Sep 2006 23:10:22 GMT
     [ http://issues.apache.org/jira/browse/DAYTRADER-14?page=all ]

David Jencks updated DAYTRADER-14:
----------------------------------

    Attachment: d-j-plan.xml
                DAYTRADER-14.patch

DAYTRADER-14.patch adds the sql script to the ejb module.

d-j-plan.xml is a plan that works for both g-jetty and g-tomcat that uses the DatabaseInitiializationGBean
to create the tables and deploys both the app clients.  Works on trunk for me.

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

        

Mime
View raw message