added getSingleScalarResult
Merge branch 'implement_getSingleScalarResult_forOrm'