diff options
| author | Brian S. O'Neill <bronee@gmail.com> | 2008-05-10 22:51:21 +0000 | 
|---|---|---|
| committer | Brian S. O'Neill <bronee@gmail.com> | 2008-05-10 22:51:21 +0000 | 
| commit | e1c5577bd142b2ebc94e02a3d404ab808678adfd (patch) | |
| tree | 5ece6ce2bab5c4c77004af23ea39235466eaf543 /src | |
| parent | 615b95d912d5259d2958ff318ef6bbe188be77ae (diff) | |
Use quoted table name identifier if required and supported.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/java/com/amazon/carbonado/TestStorables.java | 12 | 
1 files changed, 8 insertions, 4 deletions
diff --git a/src/test/java/com/amazon/carbonado/TestStorables.java b/src/test/java/com/amazon/carbonado/TestStorables.java index f8e3236..a6bab16 100644 --- a/src/test/java/com/amazon/carbonado/TestStorables.java +++ b/src/test/java/com/amazon/carbonado/TestStorables.java @@ -1479,10 +1479,14 @@ public class TestStorables extends TestCase {      }      public void test_derivedJoinIndex() throws Exception { -        Storage<WithDerivedChainA> aStorage = getRepository().storageFor(WithDerivedChainA.class); -        Storage<WithDerivedChainB> bStorage = getRepository().storageFor(WithDerivedChainB.class); -        Storage<WithDerivedChainC> cStorage = getRepository().storageFor(WithDerivedChainC.class); -        Storage<WithDerivedChainD> dStorage = getRepository().storageFor(WithDerivedChainD.class); +        test_derivedJoinIndex(getRepository()); +    } + +    protected void test_derivedJoinIndex(Repository repo) throws Exception { +        Storage<WithDerivedChainA> aStorage = repo.storageFor(WithDerivedChainA.class); +        Storage<WithDerivedChainB> bStorage = repo.storageFor(WithDerivedChainB.class); +        Storage<WithDerivedChainC> cStorage = repo.storageFor(WithDerivedChainC.class); +        Storage<WithDerivedChainD> dStorage = repo.storageFor(WithDerivedChainD.class);          int aid = 101;          int bid = 201;  | 
