switch to SQL2 query
re-integrate JCR dependency again required for mixin check/observation filtering and overlay check