Lines Matching refs:t

124     SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!");  in getTables()  local
129 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in getTables()
130 OSL_VERIFY_RES( !isExceptionOccured(t.pEnv,sal_True),"Exception occurred!"); in getTables()
137 …jobjectArray pObjArray = static_cast< jobjectArray >( t.pEnv->NewObjectArray( (jsize)typeFilterCou… in getTables()
138 OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" ); in getTables()
148 jstring aT = convertwchar_tToJavaString( t.pEnv, *typeFilter ); in getTables()
149 t.pEnv->SetObjectArrayElement( pObjArray, (jsize)i, aT ); in getTables()
150 OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" ); in getTables()
157 t.pEnv->DeleteLocalRef( pObjArray ); in getTables()
158 OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" ); in getTables()
176 …args[0].l = aCatalogFilter.hasValue() ? convertwchar_tToJavaString( t.pEnv, ::comphelper::getStrin… in getTables()
177 …args[1].l = aSchemaFilter.hasValue() ? convertwchar_tToJavaString( t.pEnv, ::comphelper::getString… in getTables()
178 args[2].l = convertwchar_tToJavaString(t.pEnv,tableNamePattern); in getTables()
179 out = t.pEnv->CallObjectMethod( object, mID, args[0].l, args[1].l,args[2].l,args[3].l); in getTables()
180 jthrowable jThrow = t.pEnv->ExceptionOccurred(); in getTables()
182t.pEnv->ExceptionClear();// we have to clear the exception here because we want to handle it below in getTables()
185 t.pEnv->DeleteLocalRef((jstring)args[0].l); in getTables()
186 OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" ); in getTables()
190 t.pEnv->DeleteLocalRef((jstring)args[1].l); in getTables()
191 OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" ); in getTables()
195 t.pEnv->DeleteLocalRef((jstring)args[2].l); in getTables()
196 OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" ); in getTables()
201 t.pEnv->DeleteLocalRef( (jobjectArray)args[3].l ); in getTables()
202 OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" ); in getTables()
207 if ( t.pEnv->IsInstanceOf( jThrow,java_sql_SQLException_BASE::st_getMyClass() ) ) in getTables()
209 … java_sql_SQLException_BASE* pException = new java_sql_SQLException_BASE( t.pEnv, jThrow ); in getTables()
226 return new java_sql_ResultSet( t.pEnv, out, m_aLogger,*m_pConnection); in getTables()
353 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getIndexInfo() local
358 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in getIndexInfo()
361 …args[0].l = catalog.hasValue() ? convertwchar_tToJavaString(t.pEnv,comphelper::getString(catalog))… in getIndexInfo()
362 args[1].l = schema.toChar() == '%' ? NULL : convertwchar_tToJavaString(t.pEnv,schema); in getIndexInfo()
363 args[2].l = convertwchar_tToJavaString(t.pEnv,table); in getIndexInfo()
366 out = t.pEnv->CallObjectMethod( object, mID, args[0].l,args[1].l,args[2].l,args[3].z,args[4].z ); in getIndexInfo()
370 t.pEnv->DeleteLocalRef((jstring)args[0].l); in getIndexInfo()
372 t.pEnv->DeleteLocalRef((jstring)args[1].l); in getIndexInfo()
374 t.pEnv->DeleteLocalRef((jstring)args[2].l); in getIndexInfo()
375 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in getIndexInfo()
381 return new java_sql_ResultSet( t.pEnv, out, m_aLogger,*m_pConnection); in getIndexInfo()
394 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getBestRowIdentifier() local
399 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in getBestRowIdentifier()
402 …args[0].l = catalog.hasValue() ? convertwchar_tToJavaString(t.pEnv,comphelper::getString(catalog))… in getBestRowIdentifier()
403 args[1].l = schema.toChar() == '%' ? NULL : convertwchar_tToJavaString(t.pEnv,schema); in getBestRowIdentifier()
404 args[2].l = convertwchar_tToJavaString(t.pEnv,table); in getBestRowIdentifier()
405 out = t.pEnv->CallObjectMethod( object, mID, args[0].l,args[1].l,args[2].l,scope,nullable); in getBestRowIdentifier()
409 t.pEnv->DeleteLocalRef((jstring)args[0].l); in getBestRowIdentifier()
411 t.pEnv->DeleteLocalRef((jstring)args[1].l); in getBestRowIdentifier()
413 t.pEnv->DeleteLocalRef((jstring)args[2].l); in getBestRowIdentifier()
414 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in getBestRowIdentifier()
421 return new java_sql_ResultSet( t.pEnv, out, m_aLogger,*m_pConnection); in getBestRowIdentifier()
511 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getCrossReference() local
516 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in getCrossReference()
519 …args[0].l = primaryCatalog.hasValue() ? convertwchar_tToJavaString(t.pEnv,comphelper::getString(pr… in getCrossReference()
520 …args[1].l = primarySchema.toChar() == '%' ? NULL : convertwchar_tToJavaString(t.pEnv,primarySchema… in getCrossReference()
521 args[2].l = convertwchar_tToJavaString(t.pEnv,primaryTable); in getCrossReference()
522 …args[3].l = foreignCatalog.hasValue() ? convertwchar_tToJavaString(t.pEnv,comphelper::getString(fo… in getCrossReference()
523 …args[4].l = foreignSchema.toChar() == '%' ? NULL : convertwchar_tToJavaString(t.pEnv,foreignSchema… in getCrossReference()
524 args[5].l = convertwchar_tToJavaString(t.pEnv,foreignTable); in getCrossReference()
525 …out = t.pEnv->CallObjectMethod( object, mID, args[0].l,args[2].l,args[2].l,args[3].l,args[4].l,arg… in getCrossReference()
529 t.pEnv->DeleteLocalRef((jstring)args[0].l); in getCrossReference()
531 t.pEnv->DeleteLocalRef((jstring)args[1].l); in getCrossReference()
533 t.pEnv->DeleteLocalRef((jstring)args[2].l); in getCrossReference()
535 t.pEnv->DeleteLocalRef((jstring)args[3].l); in getCrossReference()
537 t.pEnv->DeleteLocalRef((jstring)args[4].l); in getCrossReference()
539 t.pEnv->DeleteLocalRef((jstring)args[5].l); in getCrossReference()
540 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in getCrossReference()
547 return new java_sql_ResultSet( t.pEnv, out, m_aLogger,*m_pConnection); in getCrossReference()
599 SDBThreadAttach t; in impl_callResultSetMethod() local
601 jobject out(callResultSetMethod(t.env(),_pMethodName,_inout_MethodID)); in impl_callResultSetMethod()
603 return new java_sql_ResultSet( t.pEnv, out, m_aLogger,*m_pConnection); in impl_callResultSetMethod()
630 SDBThreadAttach t; in impl_callResultSetMethodWithStrings() local
631 …OSL_ENSURE( t.pEnv, "java_sql_DatabaseMetaData::impl_callResultSetMethodWithStrings: no Java envir… in impl_callResultSetMethodWithStrings()
638 obtainMethodId(t.pEnv, _pMethodName,pSignature, _inout_MethodID); in impl_callResultSetMethodWithStrings()
645 args[0].l = bCatalog ? convertwchar_tToJavaString( t.pEnv, sCatalog ) : NULL; in impl_callResultSetMethodWithStrings()
646 args[1].l = bSchema ? convertwchar_tToJavaString( t.pEnv, _rSchemaPattern ) : NULL; in impl_callResultSetMethodWithStrings()
647 args[2].l = convertwchar_tToJavaString( t.pEnv, _rLeastPattern ); in impl_callResultSetMethodWithStrings()
648 …args[3].l = _pOptionalAdditionalString ? convertwchar_tToJavaString( t.pEnv, *_pOptionalAdditional… in impl_callResultSetMethodWithStrings()
652 …out = t.pEnv->CallObjectMethod( object, _inout_MethodID, args[0].l, args[1].l, args[2].l, args[3].… in impl_callResultSetMethodWithStrings()
654 out = t.pEnv->CallObjectMethod( object, _inout_MethodID, args[0].l, args[1].l, args[2].l ); in impl_callResultSetMethodWithStrings()
658 t.pEnv->DeleteLocalRef( (jstring)args[0].l ); in impl_callResultSetMethodWithStrings()
660 t.pEnv->DeleteLocalRef( (jstring)args[1].l ); in impl_callResultSetMethodWithStrings()
662 t.pEnv->DeleteLocalRef( (jstring)args[2].l ); in impl_callResultSetMethodWithStrings()
664 t.pEnv->DeleteLocalRef( (jstring)args[3].l ); in impl_callResultSetMethodWithStrings()
666 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in impl_callResultSetMethodWithStrings()
674 return new java_sql_ResultSet( t.pEnv, out, m_aLogger,*m_pConnection); in impl_callResultSetMethodWithStrings()
1003 SDBThreadAttach t; in supportsConvert() local
1007 obtainMethodId(t.pEnv, pMethodName,"(II)Z", mID); in supportsConvert()
1008 out = t.pEnv->CallBooleanMethod( object, mID, fromType, toType ); in supportsConvert()
1009 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in supportsConvert()
1345 SDBThreadAttach t; in supportsResultSetConcurrency() local
1349 obtainMethodId(t.pEnv, pMethodName,"(II)Z", mID); in supportsResultSetConcurrency()
1350 out = t.pEnv->CallBooleanMethod( object, mID, setType, concurrency); in supportsResultSetConcurrency()
1351 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in supportsResultSetConcurrency()
1423 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getUDTs() local
1431 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in getUDTs()
1435 …args[0].l = catalog.hasValue() ? convertwchar_tToJavaString(t.pEnv,comphelper::getString(catalog))… in getUDTs()
1436 …args[1].l = schemaPattern.toChar() == '%' ? NULL : convertwchar_tToJavaString(t.pEnv,schemaPattern… in getUDTs()
1437 args[2].l = convertwchar_tToJavaString(t.pEnv,typeNamePattern); in getUDTs()
1438 jintArray pArray = t.pEnv->NewIntArray(types.getLength()); in getUDTs()
1439 t.pEnv->SetIntArrayRegion(pArray,0,types.getLength(),(jint*)types.getConstArray()); in getUDTs()
1442 out = t.pEnv->CallObjectMethod( object, mID, args[0].l, args[1].l,args[2].l,args[3].l); in getUDTs()
1445 t.pEnv->DeleteLocalRef((jstring)args[0].l); in getUDTs()
1447 t.pEnv->DeleteLocalRef((jstring)args[1].l); in getUDTs()
1449 t.pEnv->DeleteLocalRef((jstring)args[2].l); in getUDTs()
1451 t.pEnv->DeleteLocalRef((jintArray)args[3].l); in getUDTs()
1452 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in getUDTs()
1456 return out ? new java_sql_ResultSet( t.pEnv, out, m_aLogger,*m_pConnection ) : 0; in getUDTs()