mirror of https://github.com/apache/openjpa.git
OPENJPA-2761 properly handle javax.sql.Types.SQLXML
This commit is contained in:
parent
d35ea4bb06
commit
aae0a95f6c
|
@ -766,7 +766,8 @@ public class Column extends ReferenceCounter {
|
||||||
default:
|
default:
|
||||||
return false;
|
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) {
|
switch (type) {
|
||||||
case Types.CHAR:
|
case Types.CHAR:
|
||||||
case Types.LONGVARCHAR:
|
case Types.LONGVARCHAR:
|
||||||
|
@ -778,6 +779,8 @@ public class Column extends ReferenceCounter {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return type == getType();
|
return type == getType();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue