code for sqlite using in native liblary