If a query does not return row data, then it should use the CallableStatement.executeUpdate( ) or execute( ) methods rather than the executeQuery( ) method.
As required by the JDBC standards, jConnect throws a SQL exception if an executeQuery( ) has no result sets.
Copyright © 2003. Sybase Inc. All rights reserved. |
![]() |