glassfish
  1. glassfish
  2. GLASSFISH-1335

platform DatabasePlatform doesn't support NativeSequence

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.1pe
    • Fix Version/s: not determined
    • Component/s: entity-persistence
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

    • Issuezilla Id:
      1,335
    • Status Whiteboard:
      Hide

      HIGH

      Show
      HIGH

      Description

      When SEQUENCE is used for a primary key, the application
      ran through fine, but verifier reported 1 failure, e.g.

      Exception [TOPLINK-7144] (Oracle TopLink Essentials - 9.1 (Build b22)):
      oracle.toplink.essentials.exceptions.ValidationException
      Exception Description: AKEY_GEN: platform DatabasePlatform
      doesn't support NativeSequence.

      Is this error reported properly?

        Activity

        Hide
        sherryshen added a comment -

        Created an attachment (id=518)
        Test case with README

        Show
        sherryshen added a comment - Created an attachment (id=518) Test case with README
        Hide
        pkrogh added a comment -

        It appears that the validation is not correctly figuring out the database to
        use. To verify, you can specify the database platfor in the persistence XML,
        and this issue should go away.

        Not sure why it wouldn't be finding the correct DB, when running the
        application works. How are you running the verifier? Is it in a different
        environment?

        Show
        pkrogh added a comment - It appears that the validation is not correctly figuring out the database to use. To verify, you can specify the database platfor in the persistence XML, and this issue should go away. Not sure why it wouldn't be finding the correct DB, when running the application works. How are you running the verifier? Is it in a different environment?
        Hide
        marina vatkina added a comment -

        The verifier if run not part of the deployment, can't access a database so any
        database-specific validation should be skipped in a verifier mode.

        Show
        marina vatkina added a comment - The verifier if run not part of the deployment, can't access a database so any database-specific validation should be skipped in a verifier mode.
        Hide
        marina vatkina added a comment -

        resetting the default owner

        Show
        marina vatkina added a comment - resetting the default owner
        Hide
        pkrogh added a comment -

        Reprioritized based on BUG triage. P4 HIGH.

        Show
        pkrogh added a comment - Reprioritized based on BUG triage. P4 HIGH.
        Hide
        gfbugbridge added a comment -

        <BT6540702>

        Show
        gfbugbridge added a comment - <BT6540702>
        Hide
        dernasherbrezon added a comment -
            • Issue 1335 has been confirmed by votes. ***
        Show
        dernasherbrezon added a comment - Issue 1335 has been confirmed by votes. ***
        Hide
        Tom Mueller added a comment -

        Bulk change to set fix version to "not determined" where the issue is open but the value is for a released version.

        Show
        Tom Mueller added a comment - Bulk change to set fix version to "not determined" where the issue is open but the value is for a released version.

          People

          • Assignee:
            tware
            Reporter:
            sherryshen
          • Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: