| java.lang.Object | |
| ↳ | org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler |
Default implementation of the SqlXmlHandler interface.
Provides database-specific implementations for storing and
retrieving XML documents to and from fields in a database,
relying on the JDBC 4.0 java.sql.SQLXML facility.
getSQLXML(int)setSQLXML(int, SQLXML)| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve the given column as binary stream from the given ResultSet.
| |||||||||||
Retrieve the given column as binary stream from the given ResultSet.
| |||||||||||
Retrieve the given column as character stream from the given ResultSet.
| |||||||||||
Retrieve the given column as character stream from the given ResultSet.
| |||||||||||
Retrieve the given column as Source implemented using the specified source class
from the given ResultSet.
| |||||||||||
Retrieve the given column as Source implemented using the specified source class
from the given ResultSet.
| |||||||||||
Retrieve the given column as String from the given ResultSet.
| |||||||||||
Retrieve the given column as String from the given ResultSet.
| |||||||||||
Create a
SqlXmlValue instance for the given XML data,
as supported by the underlying JDBC driver. | |||||||||||
Create a
SqlXmlValue instance for the given XML data,
as supported by the underlying JDBC driver. | |||||||||||
Create a
SqlXmlValue instance for the given XML data,
as supported by the underlying JDBC driver. | |||||||||||
Create a
SqlXmlValue instance for the given XML data,
as supported by the underlying JDBC driver. | |||||||||||
Create a
SqlXmlValue instance for the given XML data,
as supported by the underlying JDBC driver. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.jdbc.support.xml.SqlXmlHandler
| |||||||||||
Retrieve the given column as binary stream from the given ResultSet.
Might simply invoke ResultSet.getAsciiStream or work with
SQLXML or database-specific classes depending on the
database and driver.
| rs | the ResultSet to retrieve the content from |
|---|---|
| columnIndex | the column index to use |
null in case of SQL NULL| SQLException |
|---|
Retrieve the given column as binary stream from the given ResultSet.
Might simply invoke ResultSet.getAsciiStream or work with
SQLXML or database-specific classes depending on the
database and driver.
| rs | the ResultSet to retrieve the content from |
|---|---|
| columnName | the column name to use |
null in case of SQL NULL| SQLException |
|---|
Retrieve the given column as character stream from the given ResultSet.
Might simply invoke ResultSet.getCharacterStream or work with
SQLXML or database-specific classes depending on the
database and driver.
| rs | the ResultSet to retrieve the content from |
|---|---|
| columnName | the column name to use |
| SQLException |
|---|
Retrieve the given column as character stream from the given ResultSet.
Might simply invoke ResultSet.getCharacterStream or work with
SQLXML or database-specific classes depending on the
database and driver.
| rs | the ResultSet to retrieve the content from |
|---|---|
| columnIndex | the column index to use |
| SQLException |
|---|
Retrieve the given column as Source implemented using the specified source class from the given ResultSet.
Might work with SQLXML or database-specific classes depending
on the database and driver.
| rs | the ResultSet to retrieve the content from |
|---|---|
| columnIndex | the column index to use |
| sourceClass | the implementation class to be used |
| SQLException |
|---|
Retrieve the given column as Source implemented using the specified source class from the given ResultSet.
Might work with SQLXML or database-specific classes depending
on the database and driver.
| rs | the ResultSet to retrieve the content from |
|---|---|
| columnName | the column name to use |
| sourceClass | the implementation class to be used |
| SQLException |
|---|
Retrieve the given column as String from the given ResultSet.
Might simply invoke ResultSet.getString or work with
SQLXML or database-specific classes depending on the
database and driver.
| rs | the ResultSet to retrieve the content from |
|---|---|
| columnIndex | the column index to use |
null in case of SQL NULL| SQLException |
|---|
Retrieve the given column as String from the given ResultSet.
Might simply invoke ResultSet.getString or work with
SQLXML or database-specific classes depending on the
database and driver.
| rs | the ResultSet to retrieve the content from |
|---|---|
| columnName | the column name to use |
null in case of SQL NULL| SQLException |
|---|
Create a SqlXmlValue instance for the given XML data,
as supported by the underlying JDBC driver.
| provider | the XmlBinaryStreamProvider providing XML data |
|---|
Create a SqlXmlValue instance for the given XML data,
as supported by the underlying JDBC driver.
| resultClass | the Result implementation class to be used |
|---|---|
| provider | the XmlResultProvider that will provide the XML data |
Create a SqlXmlValue instance for the given XML data,
as supported by the underlying JDBC driver.
| provider | the XmlCharacterStreamProvider providing XML data |
|---|
Create a SqlXmlValue instance for the given XML data,
as supported by the underlying JDBC driver.
| document | the XML Document to be used |
|---|
Create a SqlXmlValue instance for the given XML data,
as supported by the underlying JDBC driver.
| value | the XML String value providing XML data |
|---|