Uploaded image for project: 'DayTrader'
  1. DayTrader
  2. DAYTRADER-14

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: