Skip to content

EnumOrdinalTypeHandler.getRawType returns E #166

Open
@paulkrause88

Description

@paulkrause88

This doesn't affect functionality, but it makes debugging type mappings difficult, because all instances of EnumOrdinalTypeHandler look the same in the debugger. An easy "fix" would be to override EnumOrdinalTypeHandler's toString method, but the underlying problem is that TypeReference.getRawType returns the wrong value.

Eclipse users can work around this by adding a detail formatter for EnumOrdinalTypeHandler that simply does:

type.toString()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprove a feature or add a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @emacarron@paulkrause88

        Issue actions

          EnumOrdinalTypeHandler.getRawType returns E · Issue #166 · mybatis/mybatis-3