[
https://issues.apache.org/jira/browse/IBATISNET-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527874
]
Gilles Bayon commented on IBATISNET-230:
----------------------------------------
What is the database type of your column p_art ?
> 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.