- All Implemented Interfaces:
CreateQuery<Clob>,Query
A query that creates a CLOB (Character Large Object) in the database.
This class extends AbstractCreateQuery to provide functionality for creating CLOB
objects. It uses the JDBC connection's createClob method to create a new empty CLOB instance.
-
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
-
ClobCreateQuery
public ClobCreateQuery()
-
-
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
-