public interface SQLExecutionContext extends SQLContext
Modifier and Type | Method and Description |
---|---|
static SQLExecutionContext |
create(SQLContext context)
Create a new
SQLExecutionContext using given SQLContext . |
static SQLExecutionContext |
create(SQLContext context,
Connection connection)
|
Optional<Connection> |
getConnection()
Get the
Connection used by current operation execution, if available. |
getDialect, getTypeConverter, getValueDeserializer, getValueSerializer, trace
Optional<Connection> getConnection()
Connection
used by current operation execution, if available.static SQLExecutionContext create(SQLContext context, Connection connection)
context
- SQL context (not null)connection
- Operation execution connectionSQLExecutionContext
static SQLExecutionContext create(SQLContext context)
SQLExecutionContext
using given SQLContext
.context
- SQL context (not null)SQLExecutionContext
Copyright © 2019 The Holon Platform. All rights reserved.