using smartsql for object insert