Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-730

DbGeneratorTask createpk option does not prefix schema name

    Details

    • Type: Bug
    • Status: Open
    • Priority: 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

        Hide
        nirvdrum 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
        nirvdrum 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
        nirvdrum Kevin Menard added a comment -

        Rather, it looks to be PkGenerator-specific behavior.

        Show
        nirvdrum Kevin Menard added a comment - Rather, it looks to be PkGenerator-specific behavior.

          People

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

            Dates

            • Created:
              Updated:

              Development