public void commit ( ) throws DBException { super . commit ( ) ; // Will throw an error if something is not set up right. try { if ( this . getRemoteDatabase ( ) != null ) { synchronized ( this . getSyncObject ( this . getRemoteDatabase ( ) ) ) { this . getRemoteDatabase ( ) . commit ( ) ; } } } catch ( RemoteException ex ) { Utility . getLogger ( ) . warning ( "Remote commit error: " + ex . getMessage ( ) ) ; ex . printStackTrace ( ) ; } catch ( Exception ex ) { throw this . convertError ( ex ) ; } }
Commit the transactions since the last commit .