[OS-JIRA] Created: (CAY-82) cgen (or other task) should also allow creation of schema

From: jir..bjectstyle.org
Date: Fri Jan 23 2004 - 15:33:45 EST

  • Next message: jir..bjectstyle.org: "[OS-JIRA] Created: (CAY-83) Please implement r/w prefetching in a one-to-many relationship"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-82

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-82
        Summary: cgen (or other task) should also allow creation of schema
           Type: Improvement

         Status: Assigned
       Priority: Minor

        Project: Cayenne
     Components:
                 Cayenne Core Library
       Versions:
                 1.0 [STABLE]

       Assignee: Andrus Adamchik
       Reporter: Scott Ellsworth

        Created: Fri, 23 Jan 2004 3:32 PM
        Updated: Fri, 23 Jan 2004 3:32 PM
    Environment: MacOS X, java 1.4.1

    Description:
    It is very likely that we will use Cayenne entirely via the command line. We will thus want to generate the appropriate schema as well as the java files at run time.

    To this end, I would like an ant task similar to cgen, or a flag within cgen, to generate the sql in a file.

    Even better would be a task that could split out the drops/creates/pk support creates by table, as we sometimes need to regen a single table out of several hundred.

    Our context: we have over 500 classes in our bioinformatics Oracle database. We currently use a combination of home brew db persistence and MS-generated .NET persitence. I am trying to see what advantages and disadvantages Cayenne would give us in this context.

    We generate these tables and classes during our nightly build from a next/apple-format plist, and we can create sql, xml descriptions, java classes, and a lot of great stuff. Given the quality of the cayenne.xml format, we could generate that too, so our developers could try cayenne against our real data, and see what advantages and disadvantages we would see. We do not want manual steps, though, and having a sql generator that can be called from ant cuts out one more step.

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Fri Jan 23 2004 - 15:33:46 EST