|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.impl.config.ds.hsql.AbstractHSqlDataSourceProxy
public abstract class AbstractHSqlDataSourceProxy
Data source proxy to create HSQL data sources.
Constructor Summary | |
---|---|
protected |
AbstractHSqlDataSourceProxy() Default constructor. |
Method Summary | |
---|---|
String |
getCreateTableSqlTemplate() Provides an SQL template to create the configuration table. |
String |
getInsertOrUpdateSqlTemplate() Provides an SQL template to insert or update a value in the configuration table. |
void |
setInsertOrUpdate(PreparedStatement statement, String config, String name, String value) Sets the parameters to the given statement to insert or update a property in the configuration table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.smartics.properties.spi.config.ds.DataSourceProxy |
---|
getDataSource, getDataSourceId |
Constructor Detail |
---|
protected AbstractHSqlDataSourceProxy()
Method Detail |
---|
public final String getCreateTableSqlTemplate()
DataSourceProxy
getCreateTableSqlTemplate
in interface
DataSourceProxy
public final String getInsertOrUpdateSqlTemplate()
DataSourceProxy
getInsertOrUpdateSqlTemplate
in interface
DataSourceProxy
public final void setInsertOrUpdate(PreparedStatement statement, String config, String name, String value) throws SQLException
DataSourceProxy
The statement ist provided by DataSourceProxy.getInsertOrUpdateSqlTemplate()
.
setInsertOrUpdate
in interface
DataSourceProxy
statement
- the statement to set the values.
config
- the configuration key.
name
- the property key.
value
- the property value.
SQLException
- on any problem configuring the given
statement
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |