public class DefoQueriedResultCacheTestf
{
@Entity public static interface X extends Comparable<Object>
{
@Id
@ComparisonSeq(0) public String getA(); public void setA(String a);
@Id
@ComparisonSeq(1) public void setB(boolean b); public boolean getB();
@Id
@ComparisonSeq(2) public int getC(); public void setC(int c);
public void setD(String d);
public String getE();
}
private final static String dbName = "DefoQueriedResultCacheTestf";
@Test public void testDefoQueriedResultCache() throws Exception
{
QueriedResultCache cache = new DefoQueriedResultCache(DefoCacheSpaceProvider.getProvider());
DBConnectionProvider provider = new HSQLDB_1_8ConnectionProvider(dbName);
ORMappers mappers = DefoORMappers.getInstance(provider);