Lines Matching refs:t

119         SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!");  in disposing()  local
122 clearObject(*t.pEnv); in disposing()
156 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getBinaryStream() local
158 …jobject out = callObjectMethodWithIntArg(t.pEnv,"getBinaryStream","(I)Ljava/io/InputStream;", mID,… in getBinaryStream()
161 return out==0 ? 0 : new java_io_InputStream( t.pEnv, out ); in getBinaryStream()
167 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getCharacterStream() local
169 …jobject out = callObjectMethodWithIntArg(t.pEnv,"getCharacterStream","(I)Ljava/io/Reader;", mID, c… in getCharacterStream()
172 return out==0 ? 0 : new java_io_Reader( t.pEnv, out ); in getCharacterStream()
197 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getBytes() local
199 …jbyteArray out = (jbyteArray)callObjectMethodWithIntArg(t.pEnv,"getBytes","(I)[B", mID, columnInde… in getBytes()
203 aSeq.realloc(t.pEnv->GetArrayLength(out)); in getBytes()
204 memcpy(aSeq.getArray(),t.pEnv->GetByteArrayElements(out,&p),aSeq.getLength()); in getBytes()
205 t.pEnv->DeleteLocalRef(out); in getBytes()
214 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getDate() local
216 … jobject out = callObjectMethodWithIntArg(t.pEnv,"getDate","(I)Ljava/sql/Date;", mID, columnIndex); in getDate()
218 …return out ? static_cast <com::sun::star::util::Date> (java_sql_Date( t.pEnv, out )) : ::com::sun:… in getDate()
268 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getMetaData() local
270 jobject out = callObjectMethod(t.pEnv,"getMetaData","()Ljava/sql/ResultSetMetaData;", mID); in getMetaData()
272 return out==0 ? 0 : new java_sql_ResultSetMetaData( t.pEnv, out, m_aLogger,*m_pConnection ); in getMetaData()
278 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getArray() local
280 …jobject out = callObjectMethodWithIntArg(t.pEnv,"getArray","(I)Ljava/sql/Array;", mID, columnIndex… in getArray()
283 return out==0 ? 0 : new java_sql_Array( t.pEnv, out ); in getArray()
290 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getClob() local
292 … jobject out = callObjectMethodWithIntArg(t.pEnv,"getClob","(I)Ljava/sql/Clob;", mID, columnIndex); in getClob()
294 return out==0 ? 0 : new java_sql_Clob( t.pEnv, out ); in getClob()
300 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getBlob() local
302 … jobject out = callObjectMethodWithIntArg(t.pEnv,"getBlob","(I)Ljava/sql/Blob;", mID, columnIndex); in getBlob()
304 return out==0 ? 0 : new java_sql_Blob( t.pEnv, out ); in getBlob()
311 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getRef() local
313 jobject out = callObjectMethodWithIntArg(t.pEnv,"getRef","(I)Ljava/sql/Ref;", mID, columnIndex); in getRef()
316 return out==0 ? 0 : new java_sql_Ref( t.pEnv, out ); in getRef()
325 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getObject() local
330 args[1].l = convertTypeMapToJavaMap(t.pEnv,typeMap); in getObject()
339 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in getObject()
342 out = t.pEnv->CallObjectMethodA( object, mID, args); in getObject()
343 t.pEnv->DeleteLocalRef((jstring)args[1].l); in getObject()
344 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in getObject()
348 if ( t.pEnv->IsInstanceOf(out,java_lang_String::st_getMyClass()) ) in getObject()
350 java_lang_String aVal(t.pEnv,out); in getObject()
353 else if ( t.pEnv->IsInstanceOf(out,java_lang_Boolean::st_getMyClass()) ) in getObject()
355 java_lang_Boolean aVal(t.pEnv,out); in getObject()
359 else if ( t.pEnv->IsInstanceOf(out,java_sql_Date::st_getMyClass()) ) in getObject()
361 java_sql_Date aVal(t.pEnv,out); in getObject()
364 else if ( t.pEnv->IsInstanceOf(out,java_sql_Time::st_getMyClass()) ) in getObject()
366 java_sql_Time aVal(t.pEnv,out); in getObject()
369 else if ( t.pEnv->IsInstanceOf(out,java_sql_Timestamp::st_getMyClass()) ) in getObject()
371 java_sql_Timestamp aVal(t.pEnv,out); in getObject()
375 t.pEnv->DeleteLocalRef(out); in getObject()
404 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getTime() local
406 … jobject out = callObjectMethodWithIntArg(t.pEnv,"getTime","(I)Ljava/sql/Time;", mID, columnIndex); in getTime()
408 …return out ? static_cast <com::sun::star::util::Time> (java_sql_Time( t.pEnv, out )) : ::com::sun:… in getTime()
416 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getTimestamp() local
418 …jobject out = callObjectMethodWithIntArg(t.pEnv,"getTimestamp","(I)Ljava/sql/Timestamp;", mID, col… in getTimestamp()
420 …return out ? static_cast <com::sun::star::util::DateTime> (java_sql_Timestamp( t.pEnv, out )) : ::… in getTimestamp()
574 SDBThreadAttach t; in getWarnings() local
576 jobject out = callObjectMethod(t.pEnv,"getWarnings","()Ljava/sql/SQLWarning;", mID); in getWarnings()
580 java_sql_SQLWarning_BASE warn_base( t.pEnv, out ); in getWarnings()
701 SDBThreadAttach t; in updateString() local
713 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in updateString()
718 jdbc::LocalRef< jstring > str( t.env(),convertwchar_tToJavaString(t.pEnv,x)); in updateString()
719 t.pEnv->CallVoidMethod( object, mID,columnIndex,str.get()); in updateString()
720 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in updateString()
729 SDBThreadAttach t; in updateBytes() local
740 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in updateBytes()
744 jbyteArray aArray = t.pEnv->NewByteArray(x.getLength()); in updateBytes()
745 t.pEnv->SetByteArrayRegion(aArray,0,x.getLength(),(jbyte*)x.getConstArray()); in updateBytes()
747 t.pEnv->CallVoidMethod( object, mID,columnIndex,aArray); in updateBytes()
748 t.pEnv->DeleteLocalRef(aArray); in updateBytes()
749 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in updateBytes()
787 SDBThreadAttach t; in updateBinaryStream() local
797 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in updateBinaryStream()
803 t.pEnv->CallVoidMethod( object, mID, columnIndex,obj,length); in updateBinaryStream()
804 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in updateBinaryStream()
819 SDBThreadAttach t; in updateCharacterStream() local
829 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in updateCharacterStream()
835 t.pEnv->CallVoidMethod( object, mID, columnIndex,obj,length); in updateCharacterStream()
836 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in updateCharacterStream()
867 SDBThreadAttach t; in updateNumericObject() local
879 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in updateNumericObject()
893t.pEnv->CallVoidMethod( object, mID, columnIndex,pBigDecimal->getJavaObject(),scale); in updateNumericObject()
894 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in updateNumericObject()