You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org> on 2006/12/04 22:37:21 UTC

[jira] Closed: (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 ]

Matt Hogstrom closed DAYTRADER-14.
----------------------------------

    Fix Version/s: 1.2
                   2.0
       Resolution: Fixed
         Assignee: Matt Hogstrom

trunk/ 
Sending        trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
Sending        trunk/modules/web/src/main/java/org/apache/geronimo/samples/daytrader/web/TradeBuildDB.java
Sending        trunk/modules/web/src/main/java/org/apache/geronimo/samples/daytrader/web/TradeConfigServlet.java
Sending        trunk/modules/web/src/main/webapp/configure.html
Adding         trunk/modules/web/src/main/webapp/dbscripts
Adding         trunk/modules/web/src/main/webapp/dbscripts/db2
Adding         trunk/modules/web/src/main/webapp/dbscripts/db2/Table.ddl
Adding         trunk/modules/web/src/main/webapp/dbscripts/derby
Adding         trunk/modules/web/src/main/webapp/dbscripts/derby/Table.ddl
Adding         trunk/modules/web/src/main/webapp/dbscripts/oracle
Adding         trunk/modules/web/src/main/webapp/dbscripts/oracle/Table.ddl
Transmitting file data .......
Committed revision 482366.

branches/1.2
Sending        1.2/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
Sending        1.2/modules/web/src/main/java/org/apache/geronimo/samples/daytrader/web/TradeBuildDB.java
Sending        1.2/modules/web/src/main/java/org/apache/geronimo/samples/daytrader/web/TradeConfigServlet.java
Sending        1.2/modules/web/src/main/webapp/configure.html
Adding         1.2/modules/web/src/main/webapp/dbscripts
Adding         1.2/modules/web/src/main/webapp/dbscripts/db2
Adding         1.2/modules/web/src/main/webapp/dbscripts/db2/Table.ddl
Adding         1.2/modules/web/src/main/webapp/dbscripts/derby
Adding         1.2/modules/web/src/main/webapp/dbscripts/derby/Table.ddl
Adding         1.2/modules/web/src/main/webapp/dbscripts/oracle
Adding         1.2/modules/web/src/main/webapp/dbscripts/oracle/Table.ddl
Transmitting file data .......
Committed revision 482359.


> 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
>         Assigned To: Matt Hogstrom
>             Fix For: 1.2, 2.0
>
>         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