public class SpringClient
extends org.teiid.olingo.service.LocalClient
Constructor and Description |
---|
SpringClient(String vdbName,
String vdbVersion,
Properties properties,
TeiidServer server,
Map<Object,Future<Boolean>> loading) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
commit(String txnId) |
org.teiid.jdbc.ConnectionImpl |
getConnection() |
Connection |
open() |
void |
rollback(String txnId) |
String |
startTransaction() |
public SpringClient(String vdbName, String vdbVersion, Properties properties, TeiidServer server, Map<Object,Future<Boolean>> loading)
public Connection open() throws SQLException, org.teiid.core.TeiidProcessingException
open
in interface org.teiid.odata.api.Client
open
in class org.teiid.olingo.service.LocalClient
SQLException
org.teiid.core.TeiidProcessingException
public void close() throws SQLException
close
in interface org.teiid.odata.api.Client
close
in class org.teiid.olingo.service.LocalClient
SQLException
public org.teiid.jdbc.ConnectionImpl getConnection()
getConnection
in class org.teiid.olingo.service.LocalClient
public String startTransaction() throws SQLException
startTransaction
in interface org.teiid.odata.api.Client
startTransaction
in class org.teiid.olingo.service.LocalClient
SQLException
public void commit(String txnId) throws SQLException
commit
in interface org.teiid.odata.api.Client
commit
in class org.teiid.olingo.service.LocalClient
SQLException
public void rollback(String txnId) throws SQLException
rollback
in interface org.teiid.odata.api.Client
rollback
in class org.teiid.olingo.service.LocalClient
SQLException
Copyright © 2019. All rights reserved.