/** * INTERNAL: * Rollback a transaction on the database. */ public void rollbackTransaction() { try { Transporter transporter = getRemoteSessionController().rollbackTransaction(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * INTERNAL: * Begin a transaction on the database. */ public void beginTransaction() { try { Transporter transporter = getRemoteSessionController().beginTransaction(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * INTERNAL: * Commit a transaction on the database. */ public void commitTransaction() { try { Transporter transporter = getRemoteSessionController().commitTransaction(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * INTERNAL: * Begin an early unit of work transaction. */ public void beginEarlyTransaction() { try { Transporter transporter = getRemoteSessionController().beginEarlyTransaction(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * INTERNAL: * Reset the cache on the server-side session. */ public void initializeIdentityMapsOnServerSession() { try { Transporter transporter = getRemoteSessionController().initializeIdentityMapsOnServerSession(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * INTERNAL: * Begin an early unit of work transaction. */ public void beginEarlyTransaction() { try { Transporter transporter = getRemoteSessionController().beginEarlyTransaction(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * INTERNAL: * Rollback a transaction on the database. */ public void rollbackTransaction() { try { Transporter transporter = getRemoteSessionController().rollbackTransaction(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * INTERNAL: * Reset the cache on the server-side session. */ public void initializeIdentityMapsOnServerSession() { try { Transporter transporter = getRemoteSessionController().initializeIdentityMapsOnServerSession(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * INTERNAL: * Rollback a transaction on the database. */ public void rollbackTransaction() { try { Transporter transporter = getRemoteSessionController().rollbackTransaction(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * INTERNAL: * Begin an early unit of work transaction. */ public void beginEarlyTransaction() { try { Transporter transporter = getRemoteSessionController().beginEarlyTransaction(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * INTERNAL: * Commit a transaction on the database. */ public void commitTransaction() { try { Transporter transporter = getRemoteSessionController().commitTransaction(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * INTERNAL: * Reset the cache on the server-side session. */ public void initializeIdentityMapsOnServerSession() { try { Transporter transporter = getRemoteSessionController().initializeIdentityMapsOnServerSession(); if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } }
/** * Moves the cursor to the front of the result set, just before the first row */ public void scrollableCursorBeforeFirst(ObjID remoteScrollableCursorOid) { Transporter transporter = null; try { transporter = getRemoteSessionController().scrollableCursorBeforeFirst(new Transporter(remoteScrollableCursorOid)); } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } }
/** * Used for closing scrollable cursor across RMI. */ public void scrollableCursorClose(ObjID remoteScrollableCursorOid) { Transporter transporter = null; try { transporter = getRemoteSessionController().scrollableCursorClose(new Transporter(remoteScrollableCursorOid)); } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } }
/** * Used for closing cursored streams across RMI. */ public void cursoredStreamClose(ObjID remoteCursoredStreamOid) { Transporter transporter = null; try { transporter = getRemoteSessionController().cursoredStreamClose(new Transporter(remoteCursoredStreamOid)); } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } }
/** * Used for closing scrollable cursor across RMI. */ public void scrollableCursorClose(ObjID remoteScrollableCursorOid) { Transporter transporter = null; try { transporter = getRemoteSessionController().scrollableCursorClose(new Transporter(remoteScrollableCursorOid)); } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } }
/** * Moves the cursor to the end of the result set, just after the last row. */ public void scrollableCursorAfterLast(ObjID remoteScrollableCursorOid) { Transporter transporter = null; try { transporter = getRemoteSessionController().scrollableCursorAfterLast(new Transporter(remoteScrollableCursorOid)); } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } }
/** * Moves the cursor to the front of the result set, just before the first row */ public void scrollableCursorBeforeFirst(ObjID remoteScrollableCursorOid) { Transporter transporter = null; try { transporter = getRemoteSessionController().scrollableCursorBeforeFirst(new Transporter(remoteScrollableCursorOid)); } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } }
/** * Moves the cursor to the end of the result set, just after the last row. */ public void scrollableCursorAfterLast(ObjID remoteScrollableCursorOid) { Transporter transporter = null; try { transporter = getRemoteSessionController().scrollableCursorAfterLast(new Transporter(remoteScrollableCursorOid)); } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } }
/** * Used for closing scrollable cursor across RMI. */ public void scrollableCursorClose(ObjID remoteScrollableCursorOid) { Transporter transporter = null; try { transporter = getRemoteSessionController().scrollableCursorClose(new Transporter(remoteScrollableCursorOid)); } catch (RemoteException exception) { throw CommunicationException.errorInInvocation(exception); } if (!transporter.wasOperationSuccessful()) { throw transporter.getException(); } }