Refactor a bit to put similar things in only one place.
Refactor a bit to put similar things in only one place.

git-svn-id: fe2f45b2405132b4a9af5caedfc153c2e6f542f4@64 95a46c32-92d2-0310-94a5-8d71aeb3d4b3

drnlm/sqlobject,drnlm/sqlobject,sqlobject/sqlobject,sqlobject/sqlobject