I was able to fix this in the oracle dialect. The issue seems tobe that booleans are handled like literals by hibernate, and when rendering the litteral the escaping by the converter is not applied.
I am now escaping it manually if the JavaType is of type Boolean but the JdbcType is a conversion of Type VARCHAR @Marco Belladelli maybe this might give you an idea what the issue is? |