Hi Frans. I have created a follow up (r931). The SQL string should be syntactically correct now. But all in all the parser needs more in depth testing. Thank you for digging so deep in the persistence layer. Regards Jochen -- Every nit picked is a bug fixed