[ https://issues.apache.org/jira/browse/IBATISNET-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534010 ]
Susanne Leiberich commented on IBATISNET-230: --------------------------------------------- The type of the column is varchar2(1). > Enumaration with Characters > --------------------------- > > Key: IBATISNET-230 > URL: https://issues.apache.org/jira/browse/IBATISNET-230 > Project: iBatis for .NET > Issue Type: Bug > Components: DataMapper > Affects Versions: DataMapper 1.6.1 > Environment: C#, Oracle 10.1.5 > Reporter: Susanne Leiberich > > 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"/> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.