Completed the java cp_obj add to sdb