diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepository.java | 4 | ||||
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepositoryBuilder.java | 4 | ||||
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java | 8 | ||||
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/jdbc/SchemaResolver.java (renamed from src/main/java/com/amazon/carbonado/repo/jdbc/SupportResolver.java) | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepository.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepository.java index 870ab34..6849ca8 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepository.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepository.java @@ -195,7 +195,7 @@ class JDBCRepository extends AbstractRepository<JDBCTransaction> private final JDBCSupportStrategy mSupportStrategy;
private JDBCExceptionTransformer mExceptionTransformer;
- private final SupportResolver mResolver;
+ private final SchemaResolver mResolver;
private final JDBCTransactionManager mTxnMgr;
@@ -227,7 +227,7 @@ class JDBCRepository extends AbstractRepository<JDBCTransaction> Map<String, Boolean> autoVersioningMap,
Map<String, Boolean> suppressReloadMap,
String sequenceSelectStatement, boolean forceStoredSequence,
- SupportResolver resolver)
+ SchemaResolver resolver)
throws RepositoryException
{
super(name);
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepositoryBuilder.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepositoryBuilder.java index 9117884..57629b6 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepositoryBuilder.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepositoryBuilder.java @@ -76,7 +76,7 @@ public class JDBCRepositoryBuilder extends AbstractRepositoryBuilder { private String mSequenceSelectStatement;
private boolean mForceStoredSequence;
- private SupportResolver mResolver;
+ private SchemaResolver mResolver;
public JDBCRepositoryBuilder() {
}
@@ -413,7 +413,7 @@ public class JDBCRepositoryBuilder extends AbstractRepositoryBuilder { }
// Experimental feature.
- void setSupportResolver(SupportResolver resolver) {
+ void setSchemaResolver(SchemaResolver resolver) {
mResolver = resolver;
}
}
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java index 245afd6..98235cb 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java @@ -101,7 +101,7 @@ public class JDBCStorableIntrospector extends StorableIntrospector { }
public static <S extends Storable> JDBCStorableInfo<S> examine
- (Class<S> type, DataSource ds, String catalog, String schema, SupportResolver resolver)
+ (Class<S> type, DataSource ds, String catalog, String schema, SchemaResolver resolver)
throws SQLException, SupportException
{
Object key = KeyFactory.createKey(new Object[] {type, ds, catalog, schema});
@@ -156,7 +156,7 @@ public class JDBCStorableIntrospector extends StorableIntrospector { private static <S extends Storable> JDBCStorableInfo<S> examine
(StorableInfo<S> mainInfo, Connection con,
final String searchCatalog, final String searchSchema,
- SupportResolver resolver)
+ SchemaResolver resolver)
throws SQLException, SupportException
{
DatabaseMetaData meta = con.getMetaData();
@@ -1414,7 +1414,7 @@ public class JDBCStorableIntrospector extends StorableIntrospector { @SuppressWarnings("unchecked")
void fillInternalJoinElements(DataSource ds, String catalog, String schema,
- SupportResolver resolver)
+ SchemaResolver resolver)
throws SQLException, SupportException
{
StorableProperty<S>[] mainInternal = mMainProperty.getInternalJoinElements();
@@ -1433,7 +1433,7 @@ public class JDBCStorableIntrospector extends StorableIntrospector { }
void fillExternalJoinElements(DataSource ds, String catalog, String schema,
- SupportResolver resolver)
+ SchemaResolver resolver)
throws SQLException, SupportException
{
StorableProperty<?>[] mainExternal = mMainProperty.getExternalJoinElements();
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/SupportResolver.java b/src/main/java/com/amazon/carbonado/repo/jdbc/SchemaResolver.java index 3c99b54..da260b8 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/SupportResolver.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/SchemaResolver.java @@ -33,7 +33,7 @@ import com.amazon.carbonado.info.StorableInfo; *
* @author Brian S O'Neill
*/
-interface SupportResolver {
+interface SchemaResolver {
/**
* @return true if support has been resolved
*/
|