From e1c5577bd142b2ebc94e02a3d404ab808678adfd Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Sat, 10 May 2008 22:51:21 +0000 Subject: Use quoted table name identifier if required and supported. --- src/test/java/com/amazon/carbonado/TestStorables.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/test/java') 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 aStorage = getRepository().storageFor(WithDerivedChainA.class); - Storage bStorage = getRepository().storageFor(WithDerivedChainB.class); - Storage cStorage = getRepository().storageFor(WithDerivedChainC.class); - Storage dStorage = getRepository().storageFor(WithDerivedChainD.class); + test_derivedJoinIndex(getRepository()); + } + + protected void test_derivedJoinIndex(Repository repo) throws Exception { + Storage aStorage = repo.storageFor(WithDerivedChainA.class); + Storage bStorage = repo.storageFor(WithDerivedChainB.class); + Storage cStorage = repo.storageFor(WithDerivedChainC.class); + Storage dStorage = repo.storageFor(WithDerivedChainD.class); int aid = 101; int bid = 201; -- cgit v1.2.3