|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Configuration
The Configuration holds data about sql dialects and connections
Method Summary | |
---|---|
Connection |
getConnection()
Retrieve the configured connection |
Map<String,Object> |
getData()
Get all custom data from this Configuration
This is custom data that was previously set to the configuration using
setData(String, Object) . |
Object |
getData(String key)
Get some custom data from this Configuration
This is custom data that was previously set to the configuration using
setData(String, Object) . |
SQLDialect |
getDialect()
Retrieve the configured dialect |
SchemaMapping |
getSchemaMapping()
Deprecated. - 2.0.5 - Use getSettings() instead |
Settings |
getSettings()
Retrieve the runtime configuration settings |
void |
setConnection(Connection connection)
Set the configured connection |
Object |
setData(String key,
Object value)
Set some custom data to this Configuration
This is custom data that was previously set to the configuration using
setData(String, Object) . |
Method Detail |
---|
SQLDialect getDialect()
Connection getConnection()
void setConnection(Connection connection)
@Deprecated SchemaMapping getSchemaMapping()
getSettings()
instead
Settings getSettings()
Map<String,Object> getData()
Configuration
This is custom data that was previously set to the configuration using
setData(String, Object)
. Use custom data if you want to pass
data to your custom QueryPart
or ExecuteListener
objects to
be made available at render, bind, execution, fetch time.
See ExecuteListener
for more details.
null
ExecuteListener
Object getData(String key)
Configuration
This is custom data that was previously set to the configuration using
setData(String, Object)
. Use custom data if you want to pass
data to your custom QueryPart
or ExecuteListener
objects to
be made available at render, bind, execution, fetch time.
See ExecuteListener
for more details.
key
- A key to identify the custom data
null
if no such data is contained
in this Configuration
ExecuteListener
Object setData(String key, Object value)
Configuration
This is custom data that was previously set to the configuration using
setData(String, Object)
. Use custom data if you want to pass
data to your custom QueryPart
or ExecuteListener
objects to
be made available at render, bind, execution, fetch time.
Be sure that your custom data implements Serializable
if you want
to serialise this Configuration
or objects referencing this
Configuration
, e.g. your Record
types.
See ExecuteListener
for more details.
key
- A key to identify the custom datavalue
- The custom data or null
to unset the custom
data
null
if no data
was previously set for the given keyExecuteListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |