Package com.mobixess.jodb.tests.testobjects

Examples of com.mobixess.jodb.tests.testobjects.InnerClassObject


        WriteIntersectingFactory factory = new WriteIntersectingFactory();
        JODBConfig.setRandomAccessBufferFactory(factory);
       
       
        JODBSessionContainer sessionContainer = getContainerForFile(testFile);
        InnerClassObject innerClassObject = new InnerClassObject();
        sessionContainer.set(innerClassObject);
        sessionContainer.commit();
       
        if(closeAfterCommit){
            sessionContainer.close();
            sessionContainer = getContainerForFile(testFile);
        }
       
        Query query = sessionContainer.query();
       
        query.constrain(innerClassObject.getInnerClass().getClass());
       
        List list = query.execute();
       
        if(list.size()!=1 || list.get(0).getClass() != innerClassObject.getInnerClass().getClass()){
            throw new RuntimeException(" +++"+list.size());
        }
       
    }
View Full Code Here

TOP

Related Classes of com.mobixess.jodb.tests.testobjects.InnerClassObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.