Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-143

Automatic SQL Generation for CMP Deployment Phase

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • core, deployment
    • None

    Description

      Jeremy and I have been bouncing around a few ideas, among them automatic generation of SQL for CMP Deployment.

      I've put together a first draft of this code, including a test class derived from the BasicCMPEntityContainerTest which harnesses it.

      The code will map fields to columns, and take basic descriptions of the method (Return types and field names) and fully generate the SQL and define the query in the SimpleCommandFactory/CMPCommandFactory.

      The code probably needs alot of work, but it is a good first iteration and should allow us to do more deployment work.

      This also includes the first iterations of the field map improvements registered in GERONIMO-142

      Attachments

        1. SQLAutoGenerationAlpha2.tar.gz
          8 kB
          Brendan McAdams
        2. SQLAutoGenerationAlpha1.tar.gz
          8 kB
          Brendan McAdams

        Issue Links

          Activity

            People

              jboynes Jeremy Boynes
              bwmcadams Brendan McAdams
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: