ODP.NET: ORA-1425 When Using Backslash As Escape Character In Select / Sql*Plus Works

(Doc ID 1399875.1)

Last updated on JANUARY 25, 2012

Applies to:

Oracle Data Provider for .NET - Version: and later   [Release: 9.2 and later ]
Information in this document applies to any platform.


Using ODP.NET in combination with nHibernate framework and performing SELECT containing


fails sometimes with

ORA-1425 escape character must be character string of length 1

Performing same query in SQL*Plus works without raising an error


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms