DvbSi::Database *db=(DvbSi::Database *)nativeDatabase;
DvbSi::Database::Ptr db=NativeDvbsiDatabaseData(nativeDatabase);
jlong Java_org_dvb_si_SIDatabaseRequest_DescriptorRequestPMTElementaryStream(JNIEnv* env, jobject obj, jlong nativeDatabase, jshort retrieveMode, jlong nativeStream, jlong nativeRequest, jshortArray tags) {   JNI::JNIEnvProvider::SetJavaEnv(env);   DvbSi::Database *db=(DvbSi::Database *)nativeDatabase;   DvbSi::PMT::Stream *str=(DvbSi::PMT::Stream *)nativeStream;   DvbSi::DataSource source;   ((RequestWrapper *)nativeRequest)->getDataSource(source);      DescriptorRequestWrapper *wrapper=new DescriptorRequestWrapper(obj);   DvbSi::DescriptorRequest *req=new DvbSi::DescriptorRequest(source, wrapper);   wrapper->req=req;      //TODO: honor tags   req->Add(str->streamDescriptors);         db->DispatchResult(req);   return (jlong)wrapper;}