RPC returns fewer output parameters than registered  Stored procedure executed in unchained transaction mode

Chapter 3: Troubleshooting

Fetch/state errors when output params returned

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. Stored procedure executed in unchained transaction mode

View this book as PDF