- All Implemented Interfaces:
CreateQuery<SQLXML>,Query
A query that creates a SQLXML object in the database.
This class extends AbstractCreateQuery to provide functionality for creating SQLXML
objects. It uses the JDBC connection's createSQLXML method to create a new empty SQLXML instance
that can store XML data.
-
Field Summary
Fields inherited from class org.seasar.doma.jdbc.query.AbstractQuery
callerClassName, callerMethodName, config, message, method, queryTimeout -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(Connection connection) Creates a database resource using the given connection.Methods inherited from class org.seasar.doma.jdbc.query.AbstractCreateQuery
complete, getQueryTimeout, getSqlMethods inherited from class org.seasar.doma.jdbc.query.AbstractQuery
comment, getClassName, getConfig, getMethod, getMethodName, prepare, setCallerClassName, setCallerMethodName, setConfig, setMessage, setMethod, setQueryTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.seasar.doma.jdbc.query.Query
comment, getClassName, getConfig, getMethod, getMethodName, prepare
-
Constructor Details
-
SQLXMLCreateQuery
public SQLXMLCreateQuery()
-
-
Method Details
-
create
Creates a database resource using the given connection.- Parameters:
connection- the JDBC connection- Returns:
- the created resource
- Throws:
SQLException- if a database access error occurs
-