java.sql.SQLXML interface The java.sql.SQLXML interface is the mapping for the SQL XML data type. However, defines the XML data type and operators only in the SQL layer. There is no JDBC-side support for the XML data type and operators. java.sql.SQLXML interface

You cannot instantiate a java.sql.SQLXML object in , or bind directly into an XML value or retrieve an XML value directly from a result set. You must bind and retrieve the XML data as Java strings or character streams by explicitly specifying the XML operators, XMLPARSE and XMLSERIALIZE, as part of your SQL queries.

Additionally, does not provide JDBC metadata support for the XML data type.