Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. cir-23: "ORA-00001: unique constraint (XXX50.Z31_ID) violated"

    cir-23: "ORA-00001: unique constraint (XXX50.Z31_ID) violated"

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Problem Symptoms:
    When the cir-23 (Delete patrons) service is run for a particular sublibrary, it (correctly) deletes many patrons, but the cir-23 log has five occurrences of the following error message:

    ORA-00001: unique constraint (XXX50.Z31_ID) violated

    Cause:
    Attempt by cir-23 to create a duplicate "scrubbed" z31_rec_key. (See Additional Information below.)

    Resolution:
    Since this represents just five cases in which a z31 Cash record was not scrubbed and, therefore, the patron not deleted, these five error messages can, and should, simply be ignored.

    Additional Information

    cir-23 deletes patron records but doesn't delete z31 cash records; it "scrubs" them -- changes the patron ID component of the z31_rec_key to "SCRxxxxxxxx" and the z31_rec_key as a whole to SCRxxxxxxxxxyyyymmddnnnnnn. The five occurrences of "unique constraint (XXX50.Z31_ID) violated" represent five cash records which could not be scrubbed in this fashion because the scrubbing would have resulted in a z31_rec_key which would have duplicated an existing z31_rec_key -- which is not permitted because the z31_re3c_key column is defined as unique.


    • Article last edited: 12/9/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • cir-22 prints slips for all sublibraries
      • cir-23: deleting patrons with blocks
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved