api for automatic data persistence in sqliteopenhelper. look like JPA