Lines Matching refs:pEnv

56 java_sql_PreparedStatement::java_sql_PreparedStatement( JNIEnv * pEnv, java_sql_Connection& _rCon, …  in java_sql_PreparedStatement()  argument
57 : OStatement_BASE2( pEnv, _rCon ) in java_sql_PreparedStatement()
126 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setString()
128 createStatement(t.pEnv); in setString()
133 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in setString()
134 jdbc::LocalRef< jstring > str( t.env(),convertwchar_tToJavaString(t.pEnv,x)); in setString()
135 t.pEnv->CallVoidMethod( object, mID, parameterIndex,str.get()); in setString()
137 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in setString()
154 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in executeQuery()
155 createStatement(t.pEnv); in executeQuery()
159 return out==0 ? 0 : new java_sql_ResultSet( t.pEnv, out, m_aLogger, *m_pConnection,this); in executeQuery()
169 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setBoolean()
170 createStatement(t.pEnv); in setBoolean()
182 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setByte()
183 createStatement(t.pEnv); in setByte()
195 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setDate()
196 createStatement(t.pEnv); in setDate()
210 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setTime()
211 createStatement(t.pEnv); in setTime()
224 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setTimestamp()
225 createStatement(t.pEnv); in setTimestamp()
237 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setDouble()
238 createStatement(t.pEnv); in setDouble()
250 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setFloat()
251 createStatement(t.pEnv); in setFloat()
263 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setInt()
264 createStatement(t.pEnv); in setInt()
276 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setLong()
277 createStatement(t.pEnv); in setLong()
289 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setNull()
290 createStatement(t.pEnv); in setNull()
326 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setObjectWithInfo()
328 createStatement(t.pEnv); in setObjectWithInfo()
335 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in setObjectWithInfo()
362 …t.pEnv->CallVoidMethod( object, mID, parameterIndex,pBigDecimal->getJavaObject(),targetSqlType,sca… in setObjectWithInfo()
363 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in setObjectWithInfo()
367 obj = convertwchar_tToJavaString(t.pEnv,::comphelper::getString(x)); in setObjectWithInfo()
370 t.pEnv->CallVoidMethod( object, mID, parameterIndex,obj,targetSqlType,scale); in setObjectWithInfo()
371 t.pEnv->DeleteLocalRef(obj); in setObjectWithInfo()
372 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in setObjectWithInfo()
385 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setObjectNull()
386 createStatement(t.pEnv); in setObjectNull()
411 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setShort()
412 createStatement(t.pEnv); in setShort()
424 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setBytes()
426 createStatement(t.pEnv); in setBytes()
433 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in setBytes()
434 jbyteArray pByteArray = t.pEnv->NewByteArray(x.getLength()); in setBytes()
435 t.pEnv->SetByteArrayRegion(pByteArray,0,x.getLength(),(jbyte*)x.getConstArray()); in setBytes()
436 t.pEnv->CallVoidMethod( object, mID, parameterIndex,pByteArray); in setBytes()
437 t.pEnv->DeleteLocalRef(pByteArray); in setBytes()
438 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in setBytes()
449 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setCharacterStream()
451 createStatement(t.pEnv); in setCharacterStream()
458 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in setCharacterStream()
465 jbyteArray pByteArray = t.pEnv->NewByteArray( actualLength ); in setCharacterStream()
466 t.pEnv->SetByteArrayRegion(pByteArray,0,actualLength,(jbyte*)aSeq.getConstArray()); in setCharacterStream()
473 jclass aClass = t.pEnv->FindClass("java/io/CharArrayInputStream"); in setCharacterStream()
476 mID2 = t.pEnv->GetMethodID( aClass, "<init>", cSignatureStream ); in setCharacterStream()
479 tempObj = t.pEnv->NewObjectA( aClass, mID2, args2 ); in setCharacterStream()
481 t.pEnv->CallVoidMethod( object, mID, parameterIndex,tempObj,actualLength); in setCharacterStream()
483 t.pEnv->DeleteLocalRef(pByteArray); in setCharacterStream()
484 t.pEnv->DeleteLocalRef(tempObj); in setCharacterStream()
485 t.pEnv->DeleteLocalRef(aClass); in setCharacterStream()
486 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in setCharacterStream()
497 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in setBinaryStream()
499 createStatement(t.pEnv); in setBinaryStream()
505 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in setBinaryStream()
513 jbyteArray pByteArray = t.pEnv->NewByteArray(actualLength); in setBinaryStream()
514 t.pEnv->SetByteArrayRegion(pByteArray,0,actualLength,(jbyte*)aSeq.getConstArray()); in setBinaryStream()
522 jclass aClass = t.pEnv->FindClass("java/io/ByteArrayInputStream"); in setBinaryStream()
525 mID2 = t.pEnv->GetMethodID( aClass, "<init>", cSignatureStream ); in setBinaryStream()
528 tempObj = t.pEnv->NewObjectA( aClass, mID2, args2 ); in setBinaryStream()
529 t.pEnv->CallVoidMethod( object, mID, parameterIndex,tempObj,(sal_Int32)actualLength); in setBinaryStream()
531 t.pEnv->DeleteLocalRef(pByteArray); in setBinaryStream()
532 t.pEnv->DeleteLocalRef(tempObj); in setBinaryStream()
533 t.pEnv->DeleteLocalRef(aClass); in setBinaryStream()
534 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in setBinaryStream()
548 createStatement(t.pEnv); in clearParameters()
559 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in clearBatch()
561 createStatement(t.pEnv); in clearBatch()
572 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in addBatch()
574 createStatement(t.pEnv); in addBatch()
586 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in executeBatch()
587 createStatement(t.pEnv); in executeBatch()
589 jintArray out = (jintArray)callObjectMethod(t.pEnv,"executeBatch","()[I", mID); in executeBatch()
593 aSeq.realloc(t.pEnv->GetArrayLength(out)); in executeBatch()
594 memcpy(aSeq.getArray(),t.pEnv->GetIntArrayElements(out,&p),aSeq.getLength()); in executeBatch()
595 t.pEnv->DeleteLocalRef(out); in executeBatch()
604 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in getMetaData()
605 createStatement(t.pEnv); in getMetaData()
607 jobject out = callObjectMethod(t.pEnv,"getMetaData","()Ljava/sql/ResultSetMetaData;", mID); in getMetaData()
609 return out==0 ? 0 : new java_sql_ResultSetMetaData( t.pEnv, out, m_aLogger,*m_pConnection ); in getMetaData()