| This class represents a "bind variable" used within a SQL statement.
A bind variable can be either:
Examples
SELECT :_query,
:_allobjs,
:_currobj
FROM java.lang.Object
SELECT name
FROM java.io.File
WHERE length(:_currobj, name) > :length
AND length > avg(:_query,:_allobjs,length)
AND path LIKE '%' + ?
Accessors
It is also possible for bind variables (including the special variables) to have accessors.
For example:
SELECT :_query.variables
FROM java.lang.Object
Would cause all the bind variables in the query to be returned.
Also, if the ? in the next query is an instance of java.lang.String .
SELECT ?.length
FROM java.lang.Object
|