save() returns the instance now.
fix a issue in findByPrimkeys
if the query result is empty, returns null instead of a empty array now.