[NUCCORE-1201] Move query language conversion to datanucleus-api-jdo