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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.2, 2.0
    • EJB Tier
    • 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. DAYTRADER-14.patch
          3 kB
          David Jencks
        2. daytrader-14.patch.1019
          32 kB
          Piyush Agarwal
        3. daytrader-14.patch.11152006
          32 kB
          Piyush Agarwal
        4. daytrader-14.patch.11202006
          23 kB
          Piyush Agarwal
        5. daytrader-14.patch.11202006
          24 kB
          Piyush Agarwal
        6. d-j-plan.xml
          34 kB
          David Jencks

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: