DayTrader
  1. DayTrader
  2. DAYTRADER-14

Include sql script in the ear and use a gbean to create tables etc

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2, 2.0
    • Component/s: EJB Tier
    • Labels:
      None

      Description

      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.

      1. daytrader-14.patch.11202006
        23 kB
        Piyush Agarwal
      2. daytrader-14.patch.11202006
        24 kB
        Piyush Agarwal
      3. daytrader-14.patch.11152006
        32 kB
        Piyush Agarwal
      4. daytrader-14.patch.1019
        32 kB
        Piyush Agarwal
      5. DAYTRADER-14.patch
        3 kB
        David Jencks
      6. d-j-plan.xml
        34 kB
        David Jencks

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Matt Hogstrom
              Reporter:
              David Jencks
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development