DvbSi::Database *db=(DvbSi::Database *)nativeDatabase;
DvbSi::Database::Ptr db=NativeDvbsiDatabaseData(nativeDatabase);
jlong Java_org_dvb_si_SIDatabaseRequest_ServicesRequest(JNIEnv* env, jobject obj, jlong nativeDatabase, jshort retrieveMode, jint originalNetworkId, jint transportStreamId, jint serviceId) {   JNI::JNIEnvProvider::SetJavaEnv(env);   DvbSi::Database *db=(DvbSi::Database *)nativeDatabase;   ServicesRequestWrapper *wrapper=new ServicesRequestWrapper(obj);   wrapper->req=db->retrieveServices(wrapper, originalNetworkId,               transportStreamId==-1 ? new DvbSi::IdTracker(): new DvbSi::IdTracker(transportStreamId),               serviceId==-1 ? new DvbSi::IdTracker(): new DvbSi::IdTracker(serviceId),               (DvbSi::RetrieveMode)retrieveMode);   return (jlong)wrapper;}