:: com :: sun :: star :: sdb ::
|
unpublished |
constants group BooleanComparisonMode |
|
|
- Usage Restrictions
- not published
- Description
- specifies different mode how boolean comparison predicates are to be generated
by a SingleSelectQueryComposer.
|
Constants |
EQUAL_INTEGER |
denotes the default comparison
|
IS_LITERAL |
requires to use IS boolean_literal for boolean comparison.
|
EQUAL_LITERAL |
requires to use = boolean_literal for boolean comparison.
|
ACCESS_COMPAT |
requires to use an Microsoft Access compatible syntax for boolean comparison.
|
Constants' Details |
EQUAL_INTEGER
const long EQUAL_INTEGER = 0;
- Description
- denotes the default comparison
Most databases support comparing boolean expressions or column values directly with
integer values: column = 0 respectively column = 1 .
|
|
IS_LITERAL
const long IS_LITERAL = 1;
- Description
- requires to use
IS boolean_literal for boolean comparison.
That is, the generated comparison predicates will be column IS TRUE resp.
column IS FALSE .
|
|
EQUAL_LITERAL
const long EQUAL_LITERAL = 2;
- Description
- requires to use
= boolean_literal for boolean comparison.
That is, the generated comparison predicates will be column = TRUE resp.
column = FALSE .
|
|
ACCESS_COMPAT
const long ACCESS_COMPAT = 3;
- Description
- requires to use an Microsoft Access compatible syntax for boolean comparison.
|
|
Top of Page
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.