- Type Parameters:
RESULT- the type of the resource to be created
- All Superinterfaces:
Query
- All Known Implementing Classes:
AbstractCreateQuery,ArrayCreateQuery,BlobCreateQuery,ClobCreateQuery,NClobCreateQuery,SQLXMLCreateQuery
A query that creates a database resource.
This interface is used to create JDBC resources such as BLOB, CLOB, Array, etc.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(Connection connection) Creates a database resource using the given connection.Methods inherited from interface org.seasar.doma.jdbc.query.Query
comment, complete, getClassName, getConfig, getMethod, getMethodName, getQueryTimeout, getSql, prepare
-
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
-