public class RecordToDBConnection extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends org.gcube.documentstore.records.Record> |
clz |
static String |
DB_SUFFIX |
static String |
PASSWORD_SUFFIX |
protected String |
typeName |
static String |
URL_PROPERTY_KEY |
static String |
USERNAME_SUFFIX |
| Modifier | Constructor and Description |
|---|---|
protected |
RecordToDBConnection(String type,
Class<? extends org.gcube.documentstore.records.Record> clz,
org.gcube.documentstore.persistence.PersistenceBackendConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
public static final String URL_PROPERTY_KEY
public static final String DB_SUFFIX
public static final String USERNAME_SUFFIX
public static final String PASSWORD_SUFFIX
protected final Class<? extends org.gcube.documentstore.records.Record> clz
protected final String typeName
public Connection getConnection() throws Exception
ExceptionCopyright © 2021. All Rights Reserved.