#NEWLINE# def get_result_proxy( self ) : #NEWLINE# #INDENT# if hasattr ( self . compiled , 'returning_parameters' ) : #NEWLINE# #INDENT# rrs = None #NEWLINE# try : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# rrs = self . statement . __statement__ . getReturnResultSet ( ) #NEWLINE# next ( rrs ) #NEWLINE# #UNINDENT# except SQLException as sqle : #NEWLINE# #INDENT# msg = ( '%s [SQLCode: %d]' % ( sqle . getMessage ( ) , sqle . getErrorCode ( ) ) ) #NEWLINE# if ( sqle . getSQLState ( ) is not None ) : #NEWLINE# #INDENT# msg += ( ' [SQLState: %s]' % sqle . getSQLState ( ) ) #NEWLINE# #UNINDENT# raise zxJDBC . Error ( msg ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# row = tuple ( ( self . cursor . datahandler . getPyObject ( rrs , index , dbtype ) for ( index , dbtype ) in self . compiled . returning_parameters ) ) #NEWLINE# return ReturningResultProxy ( self , row ) #NEWLINE# #UNINDENT# #UNINDENT# finally : #NEWLINE# #INDENT# if ( rrs is not None ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# rrs . close ( ) #NEWLINE# #UNINDENT# except SQLException : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# self . statement . close ( ) #NEWLINE# #UNINDENT# #UNINDENT# return _result . ResultProxy ( self )