Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2621

Document the fact that statement batching is disabled when using GenerationType.IDENTITY

    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.3, 2.3.0, 2.4.1
    • Fix Version/s: None
    • Component/s: docs
    • Labels:
      None

      Description

      When using GenerationType.IDENTITY, statement batching is automatically disabled. Even if a user specifically sets the batch limit, batching is automatically disabled. This is not documented in OpenJPA documentation. I will use this JIRA to document this caveat. I propose that this caveat be documented along with the other IDENTITY caveats listed in documentation here:

      http://openjpa.apache.org/builds/2.2.2/apache-openjpa/docs/manual#ref_guide_pc_oid_pkgen_autoinc

      Thanks,

      Heath

        Attachments

          Activity

            People

            • Assignee:
              jpaheath Heath Thomann
              Reporter:
              jpaheath Heath Thomann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: