OPENJPA-2761 properly handle javax.sql.Types.SQLXML

This commit is contained in:
Mark Struberg 2019-01-10 13:29:49 +01:00
parent d35ea4bb06
commit aae0a95f6c
1 changed files with 4 additions and 1 deletions

View File

@ -766,7 +766,8 @@ public class Column extends ReferenceCounter {
default:
return false;
}
case 2007: // Oracle-defined opaque type code for XMLType
case Types.SQLXML: // All XML Types
case 2007: // Oracle-defined opaque type code for XMLType treated the same way
switch (type) {
case Types.CHAR:
case Types.LONGVARCHAR:
@ -778,6 +779,8 @@ public class Column extends ReferenceCounter {
return false;
}
default:
return type == getType();
}