HAEntity is a library written by objective-c to access sqlite database via FMDB