public class ReferentialSynchroDatabaseMetadata extends Object
Modifier and Type | Field and Description |
---|---|
protected DatabaseMetadata |
delegate
Deprecated.
|
protected DatabaseMetaData |
meta
Deprecated.
|
protected Map<String,ReferentialSynchroTableMetadata> |
tables
Deprecated.
|
protected Set<String> |
tablesToSynchNames
Deprecated.
|
Constructor and Description |
---|
ReferentialSynchroDatabaseMetadata(Set<String> tablesToSynch,
Connection connection,
Dialect dialect)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ReferentialSynchroTableMetadata |
getTable(String name)
Deprecated.
|
protected ReferentialSynchroTableMetadata |
getTable(String name,
String schema,
String catalog,
boolean isQuoted)
Deprecated.
|
int |
getTableCount()
Deprecated.
|
Set<String> |
getTableNames()
Deprecated.
|
static ReferentialSynchroDatabaseMetadata |
loadDatabaseMetadata(Set<String> tablesToSynch,
Connection connection,
Dialect dialect)
Deprecated.
Load the datasource schema for the given connection and dialect.
|
protected final Set<String> tablesToSynchNames
protected final DatabaseMetadata delegate
protected final Map<String,ReferentialSynchroTableMetadata> tables
protected final DatabaseMetaData meta
public ReferentialSynchroDatabaseMetadata(Set<String> tablesToSynch, Connection connection, Dialect dialect)
public static ReferentialSynchroDatabaseMetadata loadDatabaseMetadata(Set<String> tablesToSynch, Connection connection, Dialect dialect)
tablesToSynch
- tables to synchconnection
- connection of the data sourcedialect
- dialect to usepublic ReferentialSynchroTableMetadata getTable(String name) throws HibernateException
HibernateException
public int getTableCount()
public Set<String> getTableNames()
protected ReferentialSynchroTableMetadata getTable(String name, String schema, String catalog, boolean isQuoted) throws HibernateException
HibernateException
Copyright © 2012–2014 IFREMER. All rights reserved.