As far as logging is concerned, IMO just indicating that a parameter is an enum and printing its name should be a good generic solution.

Beyond logging ... I don't know... I'd like to discuss any ideas that do not require replacing a core java enum concept with a custom enum implementation.

Andrus


On Jan 16, 2008, at 6:38 PM, Michael Gentry wrote:

We can change this, but see my previous message to Kevin.  Perhaps I
should work on more advances enumeration support?

/dev/mrg


On Jan 16, 2008 11:04 AM, Andrus Adamchik (JIRA) <[email protected] > wrote:
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: Andrus Adamchik
           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:[EMAIL PROTECTED]

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.




Reply via email to