You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Michael Gentry (JIRA)" <de...@cayenne.apache.org> on 2008/01/22 16:08:33 UTC

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

     [ 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.MyEnum@13714924]


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.MyEnum@13714924]
> 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.