views:

74

answers:

0

Hi, I'm using an EnumStringType in my mapping to insert the enum string value in my DB. The problem is that Oracle needs AnsiString type for their parameters, and the EnumStringType maps the parameter values to "normal" String types. Something that got me busy for days until I found this article of James Kovacs Which means, that currently the Insert and Update statements are failing.

Is there an alternative to the EnumStringType for Oracle (using the AnsiString for parameter) or should I write my own mapping to perform this functionality?

Thanks for your feedback.