summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--offapi/com/sun/star/sdb/ErrorCondition.idl17
1 files changed, 17 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sdb/ErrorCondition.idl b/offapi/com/sun/star/sdb/ErrorCondition.idl
index 79fcd4c523f3..1a9ade6e83b5 100644
--- a/offapi/com/sun/star/sdb/ErrorCondition.idl
+++ b/offapi/com/sun/star/sdb/ErrorCondition.idl
@@ -155,6 +155,23 @@ constants ErrorCondition
with this name.</p>
*/
const long AB_ADDRESSBOOK_NOT_FOUND = 500;
+
+ // ========================================================================
+ // = section DATA - data retrieval related error conditions
+ // =
+ // = next section should start with 600
+
+ /** used to indicate that a <code>SELECT</code> operation on a table needs a filter.
+
+ <p>Some database drivers are not able to <code>SELECT</code> from a table if the
+ statement does not contain a <code>WHERE</code> clause. In this case, a statement
+ like <code>SELECT * FROM "table"</cdeo> with fail with the error code
+ <code>DATA_CANNOT_SELECT_UNFILTERED</code>.</p>
+
+ <p>It is also legitimate for the driver to report this error condition as warning, and provide
+ an empty result set, instead of ungracefull failing.</p>
+ */
+ const long DATA_CANNOT_SELECT_UNFILTERED = 550;
};
//=============================================================================