[JIRA] Resolved: (CAY-964) Enum logging in SQL logs

From: Michael Gentry (JIRA) ("Michael)
Date: Tue Jan 22 2008 - 10:08:33 EST

  • Next message: Michael Gentry (JIRA): "[JIRA] Created: (CAY-973) Log PK values for auto-generated columns"

         [ https://issues.apache.org/cayenne/browse/CAY-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Michael Gentry resolved CAY-964.
    --------------------------------

        Resolution: Fixed

    QueryLogger now looks for enumerated types and produces output such as:

    [bind: 1->favorite_color:Colors.BLUE=2]

    instead of

    [bind: 1:'%a%', 2:'%b%', 3:30, 4:com.example.MyEnu..3714924]

    This was fix with r614214, but I forgot to include CAY-964 on the commit message.

    > Enum logging in SQL logs
    > ------------------------
    >
    > Key: CAY-964
    > URL: https://issues.apache.org/cayenne/browse/CAY-964
    > Project: Cayenne
    > Issue Type: Improvement
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Andrus Adamchik
    > Assignee: Michael Gentry
    > Priority: Trivial
    > Fix For: 3.0
    >
    >
    > Currently SQL logs generated for enum bindings look pretty ugly. E.g.
    > [bind: 1:'%a%', 2:'%b%', 3:30, 4:com.example.MyEnu..3714924]
    > Need to log enum name instead

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Tue Jan 22 2008 - 10:08:58 EST