[opf] insert sql generator improvement
[opf] fixed lazyload sanity check