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