Search in sources :

Example 1 with DummyBaseTransactionManager

use of org.infinispan.transaction.tm.DummyBaseTransactionManager in project teiid by teiid.

the class TestODataIntegration method before.

@Before
public void before() throws Exception {
    TimestampWithTimezone.resetCalendar(TimeZone.getTimeZone("UTC"));
    teiid = new EmbeddedServer();
    EmbeddedConfiguration config = new EmbeddedConfiguration();
    config.setTransactionManager(new DummyBaseTransactionManager());
    teiid.start(config);
    ef = new LoopbackExecutionFactory() {

        @Override
        public boolean supportsRowOffset() {
            return false;
        }
    };
    teiid.addTranslator("loopback", ef);
    createContext("/odata4", null);
    deployVDB();
}
Also used : DummyBaseTransactionManager(org.infinispan.transaction.tm.DummyBaseTransactionManager) EmbeddedServer(org.teiid.runtime.EmbeddedServer) LoopbackExecutionFactory(org.teiid.translator.loopback.LoopbackExecutionFactory) EmbeddedConfiguration(org.teiid.runtime.EmbeddedConfiguration) Before(org.junit.Before)

Aggregations

DummyBaseTransactionManager (org.infinispan.transaction.tm.DummyBaseTransactionManager)1 Before (org.junit.Before)1 EmbeddedConfiguration (org.teiid.runtime.EmbeddedConfiguration)1 EmbeddedServer (org.teiid.runtime.EmbeddedServer)1 LoopbackExecutionFactory (org.teiid.translator.loopback.LoopbackExecutionFactory)1