OGM-293 Add native queries support