133134135136137138139140141142143144145146147148149
* database document is released. */ public void close() { // close connection XCloseable closeConn = (XCloseable)UnoRuntime.queryInterface( XCloseable.class, m_connection ); if ( closeConn != null ) { try { closeConn.close(); } catch( SQLException e ) { } }
543544545546547548549550551552553
updt.deleteRow() ; set.next() ; count ++ ; } XCloseable xClose = (XCloseable) UnoRuntime.queryInterface (XCloseable.class, set) ; xClose.close() ; return count ; }
611612613614615616617618619
} } updt.insertRow() ; XCloseable xClose = (XCloseable) UnoRuntime.queryInterface (XCloseable.class, set) ; xClose.close() ; }
116117118119120121122123124125126127128129130131132
* database document is released. */ public void close() { // close connection final XCloseable closeConn = (XCloseable) UnoRuntime.queryInterface(XCloseable.class, m_connection); if (closeConn != null) { try { closeConn.close(); } catch (SQLException e) { } }
146147148149150151152153154155156157158159160161162
527528529530531532533534535536537
595596597598599600601602603
142143144145146147148149150151152153154155156157158
93949596979899100101102103104105106107108109
* database document is released. */ public void close() { // close connection final XCloseable closeConn = UnoRuntime.queryInterface( XCloseable.class, m_connection != null ? m_connection.getXConnection() : null ); if (closeConn != null) { try { closeConn.close(); } catch (SQLException e) { } }