public class JdbcStorageDao extends AbstractJdbcStorageDao
accessor| Constructor and Description |
|---|
JdbcStorageDao(org.osgi.service.jdbc.DataSourceFactory dataSourceFactory,
Properties properties,
boolean usePool,
com.google.common.collect.Interner<String> stringInterner) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
static long |
getCleanupPeriod() |
protected boolean |
isReplication() |
protected void |
performStoreEvent(Event event,
org.eclipse.scada.utils.osgi.jdbc.task.ConnectionContext connectionContext) |
cleanupArchive, cleanupArchive, getDeleteAttributesSql, getInsertAttributesSql, intern, loadEvent, logSQLError, queryEvents, storeEvent, storeReplicationEvent, toEventListclip, closeConnection, closeStatement, createConnection, getAccessor, getCleanupDays, getInstance, getMaxLength, getSchema, setInstance, setMaxLength, setSchema, updateCommentpublic JdbcStorageDao(org.osgi.service.jdbc.DataSourceFactory dataSourceFactory,
Properties properties,
boolean usePool,
com.google.common.collect.Interner<String> stringInterner)
throws SQLException
SQLExceptionpublic void dispose()
dispose in interface StorageDaodispose in class BaseStorageDaoprotected boolean isReplication()
public static long getCleanupPeriod()
protected void performStoreEvent(Event event, org.eclipse.scada.utils.osgi.jdbc.task.ConnectionContext connectionContext) throws SQLException, Exception
performStoreEvent in class AbstractJdbcStorageDaoSQLExceptionException