use of herddb.network.netty.LocalVMChannel in project herddb by diennea.
the class NonMarshallingClientSideConnectionPeer method executeUpdate.
@Override
public DMLResult executeUpdate(String tableSpace, String query, long tx, boolean returnValues, boolean usePreparedStatement, List<Object> params) throws HDBException, ClientSideMetadataProviderException {
LocalVMChannel channel = (LocalVMChannel) realConnection.ensureOpen();
ServerSideConnectionPeer serverSidePeer = (ServerSideConnectionPeer) channel.getServerSideChannel().getMessagesReceiver();
return serverSidePeer.executeUpdate(tableSpace, query, tx, returnValues, params);
}
use of herddb.network.netty.LocalVMChannel in project herddb by diennea.
the class NonMarshallingClientSideConnectionPeer method rollbackTransaction.
@Override
public void rollbackTransaction(String tableSpace, long tx) throws HDBException, ClientSideMetadataProviderException {
LocalVMChannel channel = (LocalVMChannel) realConnection.ensureOpen();
ServerSideConnectionPeer serverSidePeer = (ServerSideConnectionPeer) channel.getServerSideChannel().getMessagesReceiver();
serverSidePeer.rollbackTransaction(tableSpace, tx);
}
Aggregations