Cayenne
  1. Cayenne
  2. CAY-730

DbGeneratorTask createpk option does not prefix schema name

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2 branch
    • Fix Version/s: None
    • Component/s: Core Library
    • Labels:
      None
    • Environment:
      Cayenne 1.2.1, Windows XP, MySQL 5, Java 1.4.2

      Description

      The Ant task DbGeneratorTask createpk (Create Primary Key) option does not prefix schema name when performing its database operations.

      This means you can't be logged in as an system admin database user to use this task, instead you have to be logged in as the schema user for the operations to be performed.

      regards Malcolm

        Activity

        Malcolm Edgar created issue -
        Kevin Menard made changes -
        Field Original Value New Value
        Assignee Kevin Menard [ nirvdrum ]
        Hide
        Kevin Menard added a comment -

        Does it work from the modeler? I can't see anything that DbGeneratorTask is doing itself. It looks to be DbAdapter-specific behavior.

        Show
        Kevin Menard added a comment - Does it work from the modeler? I can't see anything that DbGeneratorTask is doing itself. It looks to be DbAdapter-specific behavior.
        Hide
        Kevin Menard added a comment -

        Rather, it looks to be PkGenerator-specific behavior.

        Show
        Kevin Menard added a comment - Rather, it looks to be PkGenerator-specific behavior.
        Kevin Menard made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Kevin Menard made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Henri Yandell made changes -
        Project Import Sat Mar 21 00:51:04 PDT 2009 [ 1237621864637 ]
        Kevin Menard made changes -
        Assignee Kevin Menard [ nirvdrum ]
        Ari Maniatis made changes -
        Workflow jira [ 12456864 ] Cayenne workflow [ 12487531 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        579d 21h 19m 1 Kevin Menard 16/Aug/08 20:31
        In Progress In Progress Open Open
        174d 19h 30m 1 Kevin Menard 07/Feb/09 15:02

          People

          • Assignee:
            Unassigned
            Reporter:
            Malcolm Edgar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development