Uploaded image for project: 'iBatis for .NET'
  1. iBatis for .NET
  2. IBATISNET-230

Enumaration with Characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • DataMapper 1.6.1
    • DataMapper 1.6.1
    • DataMapper
    • None
    • C#, Oracle 10.1.5

    Description

      Hi,

      I have the following enumeration:
      public enum ESearchProfile
      {
      temp = 'T',
      permanent = 'P'
      }

      If i want to save an ESearchProfile-value i got an error. The database throws the error "value too large for column" (actual 2, maximum 1). I guess iBatis sends as value 'T to the stored procedure instead of T.

      I use a parameterMap with the following line:
      <parameter property="Art" column="p_art"/>

      Attachments

        Activity

          People

            gilles Gilles Bayon
            susi Susanne Leiberich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: