8.5 Searching Repository Content with SQL

A repository (either level 1 or level 2) may support search using the SQL query syntax.

Whether a particular implementation supports SQL can be determined by querying the repository descriptor table with Repository.getDescriptor("OPTION_QUERY_SQL_SUPPORTED") (a return value of true indicates support for SQL, see 6.1.1.1 Repository Descriptors).