[#1232] SQLException when Factory.fetch() does not return a ResultSet

This commit is contained in:
Lukas Eder 2012-03-16 12:13:22 +00:00
parent 4251ec133c
commit efe80c02a7

View File

@ -942,7 +942,9 @@ public interface FactoryOperations extends Configuration {
* escape literals when concatenated into SQL clauses!
*
* @param sql The SQL
* @return The results from the executed query
* @return The results from the executed query. This is never
* <code>null</code>, even if the database returns no
* {@link ResultSet}
* @throws DataAccessException if something went wrong executing the query
*/
@Support
@ -968,7 +970,9 @@ public interface FactoryOperations extends Configuration {
*
* @param sql The SQL
* @param bindings The bindings
* @return A query wrapping the plain SQL
* @return The results from the executed query. This is never
* <code>null</code>, even if the database returns no
* {@link ResultSet}
* @throws DataAccessException if something went wrong executing the query
*/
@Support
@ -989,7 +993,9 @@ public interface FactoryOperations extends Configuration {
* escape literals when concatenated into SQL clauses!
*
* @param sql The SQL
* @return The results from the executed query
* @return The results from the executed query. This is never
* <code>null</code>, even if the database returns no
* {@link ResultSet}
* @throws DataAccessException if something went wrong executing the query
*/
@Support
@ -1012,7 +1018,9 @@ public interface FactoryOperations extends Configuration {
*
* @param sql The SQL
* @param bindings The bindings
* @return A query wrapping the plain SQL
* @return The results from the executed query. This is never
* <code>null</code>, even if the database returns no
* {@link ResultSet}
* @throws DataAccessException if something went wrong executing the query
*/
@Support
@ -1036,7 +1044,9 @@ public interface FactoryOperations extends Configuration {
* escape literals when concatenated into SQL clauses!
*
* @param sql The SQL
* @return The results from the executed query
* @return The results from the executed query. This is never
* <code>null</code>, even if the database returns no
* {@link ResultSet}
* @throws DataAccessException if something went wrong executing the query
*/
@Support
@ -1062,7 +1072,9 @@ public interface FactoryOperations extends Configuration {
*
* @param sql The SQL
* @param bindings The bindings
* @return A query wrapping the plain SQL
* @return The results from the executed query. This is never
* <code>null</code>, even if the database returns no
* {@link ResultSet}
* @throws DataAccessException if something went wrong executing the query
*/
@Support