LibreOffice Module connectivity (master) 1
|
#include <JStatement.hxx>
Public Member Functions | |
virtual jclass | getMyClass () const override |
java_sql_Statement_Base (JNIEnv *pEnv, java_sql_Connection &_rCon) | |
sal_Int32 | getStatementObjectID () const |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL | executeQuery (const OUString &sql) override |
virtual sal_Int32 SAL_CALL | executeUpdate (const OUString &sql) override |
virtual sal_Bool SAL_CALL | execute (const OUString &sql) override |
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL | getConnection () override |
virtual css::uno::Any SAL_CALL | getWarnings () override |
virtual void SAL_CALL | clearWarnings () override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | close () override |
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL | getResultSet () override |
virtual sal_Int32 SAL_CALL | getUpdateCount () override |
virtual sal_Bool SAL_CALL | getMoreResults () override |
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL | getGeneratedValues () override |
Public Member Functions inherited from connectivity::java_lang_Object | |
java_lang_Object (JNIEnv *pEnv, jobject myObj) | |
java_lang_Object () | |
virtual | ~java_lang_Object () COVERITY_NOEXCEPT_FALSE |
void | saveRef (JNIEnv *pEnv, jobject myObj) |
jobject | getJavaObject () const |
void | clearObject (JNIEnv &rEnv) |
void | clearObject () |
OUString | toString () const |
static ::rtl::Reference< jvmaccess::VirtualMachine > | getVM (const css::uno::Reference< css::uno::XComponentContext > &_rxContext=nullptr) |
void | obtainMethodId_throwSQL (JNIEnv *_pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const |
void | obtainMethodId_throwRuntime (JNIEnv *_pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const |
bool | callBooleanMethod (const char *_pMethodName, jmethodID &_inout_MethodID) const |
bool | callBooleanMethodWithIntArg (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
jobject | callResultSetMethod (JNIEnv &_rEnv, const char *_pMethodName, jmethodID &_inout_MethodID) const |
sal_Int32 | callIntMethod_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID) const |
sal_Int32 | callIntMethod_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID) const |
sal_Int32 | callIntMethodWithIntArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
sal_Int32 | callIntMethodWithIntArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
sal_Int32 | callIntMethodWithStringArg (const char *_pMethodName, jmethodID &_inout_MethodID, const OUString &_nArgument) const |
OUString | callStringMethod (const char *_pMethodName, jmethodID &_inout_MethodID) const |
OUString | callStringMethodWithIntArg (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
void | callVoidMethod_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID) const |
void | callVoidMethod_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID) const |
void | callVoidMethodWithIntArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
void | callVoidMethodWithIntArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
void | callVoidMethodWithBoolArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, bool _nArgument) const |
void | callVoidMethodWithBoolArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, bool _nArgument) const |
void | callVoidMethodWithStringArg (const char *_pMethodName, jmethodID &_inout_MethodID, const OUString &_nArgument) const |
jobject | callObjectMethod (JNIEnv *pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const |
jobject | callObjectMethodWithIntArg (JNIEnv *pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
template<typename T > | |
T | callMethodWithIntArg (T(JNIEnv::*pCallMethod)(jobject obj, jmethodID methodID,...), const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
template<typename T > | |
void | callVoidMethod_ThrowSQL (const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument, const T &_aValue) const |
Public Member Functions inherited from cppu::OPropertySetHelper | |
OPropertySetHelper (OBroadcastHelper &rBHelper) | |
OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring) | |
OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false) | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
css::uno::Sequence< css::uno::Type > | getTypes () |
void SAL_CALL | disposing () |
virtual void SAL_CALL | setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE |
virtual void SAL_CALL | addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< java_sql_Statement_Base > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Protected Member Functions | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
virtual void | createStatement (JNIEnv *_pEnv)=0 |
virtual | ~java_sql_Statement_Base () override |
sal_Int32 | impl_getProperty (const char *_pMethodName, jmethodID &_inout_MethodID) |
sal_Int32 | impl_getProperty (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nDefault) |
virtual jclass | getMyClass () const |
Protected Member Functions inherited from cppu::OPropertySetHelper | |
void SAL_CALL | fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable) |
void SAL_CALL | setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount) |
virtual IPropertyArrayHelper &SAL_CALL | getInfoHelper ()=0 |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0 |
void | setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value) |
~OPropertySetHelper () | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const =0 |
Protected Attributes | |
css::uno::Reference< css::sdbc::XStatement > | m_xGeneratedStatement |
rtl::Reference< java_sql_Connection > | m_pConnection |
java::sql::ConnectionLog | m_aLogger |
OUString | m_sSqlStatement |
sal_Int32 | m_nResultSetConcurrency |
sal_Int32 | m_nResultSetType |
bool | m_bEscapeProcessing |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from connectivity::java_lang_Object | |
jobject | object |
Protected Attributes inherited from cppu::OPropertySetHelper | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
Static Protected Attributes | |
static jclass | theClass = nullptr |
Static Protected Attributes inherited from connectivity::java_lang_Object | |
static jclass | theClass = nullptr |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< java_sql_Statement_Base > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Private Member Functions | |
sal_Int32 | getQueryTimeOut () |
sal_Int32 | getMaxFieldSize () |
sal_Int32 | getMaxRows () |
sal_Int32 | getResultSetConcurrency () |
sal_Int32 | getResultSetType () |
sal_Int32 | getFetchDirection () |
sal_Int32 | getFetchSize () |
OUString | getCursorName () |
void | setQueryTimeOut (sal_Int32 _par0) |
void | setMaxFieldSize (sal_Int32 _par0) |
void | setMaxRows (sal_Int32 _par0) |
void | setResultSetConcurrency (sal_Int32 _par0) |
void | setResultSetType (sal_Int32 _par0) |
void | setFetchDirection (sal_Int32 _par0) |
void | setFetchSize (sal_Int32 _par0) |
void | setCursorName (const OUString &_par0) |
void | setEscapeProcessing (bool _par0) |
Additional Inherited Members | |
Static Public Member Functions inherited from connectivity::java_lang_Object | |
static void | ThrowSQLException (JNIEnv *pEnv, const css::uno::Reference< css::uno::XInterface > &_rContext) |
static void | ThrowLoggedSQLException (const ::comphelper::EventLogger &_rLogger, JNIEnv *pEnvironment, const css::uno::Reference< css::uno::XInterface > &_rxContext) |
static void | ThrowRuntimeException (JNIEnv *pEnv, const css::uno::Reference< css::uno::XInterface > &_rContext) |
static jclass | findMyClass (const char *_pClassName) |
Static Public Member Functions inherited from cppu::OPropertySetHelper | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< java_sql_Statement_Base > | |
static std::mutex & | theMutex () |
Definition at line 50 of file JStatement.hxx.
|
overrideprotectedvirtual |
Definition at line 73 of file JStatement.cxx.
java_sql_Statement_Base::java_sql_Statement_Base | ( | JNIEnv * | pEnv, |
java_sql_Connection & | _rCon | ||
) |
Definition at line 60 of file JStatement.cxx.
References m_aMutex.
|
overridevirtualnoexcept |
Reimplemented in connectivity::java_sql_CallableStatement, connectivity::java_sql_Statement, and connectivity::java_sql_PreparedStatement.
Definition at line 838 of file JStatement.cxx.
Referenced by connectivity::java_sql_Statement::acquire(), and connectivity::java_sql_PreparedStatement::acquire().
|
overridevirtual |
Definition at line 178 of file JStatement.cxx.
References connectivity::java_lang_Object::callVoidMethod_ThrowRuntime(), createStatement(), and t.
|
overridevirtual |
Definition at line 389 of file JStatement.cxx.
References connectivity::java_lang_Object::callVoidMethod_ThrowSQL(), connectivity::checkDisposed(), createStatement(), cppu::BaseMutex::m_aMutex, and t.
|
overridevirtual |
Definition at line 187 of file JStatement.cxx.
References dispose(), and cppu::BaseMutex::m_aMutex.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
Definition at line 653 of file JStatement.cxx.
References DBG_UNHANDLED_EXCEPTION, getCursorName(), getFetchDirection(), getFetchSize(), getMaxFieldSize(), getMaxRows(), getQueryTimeOut(), getResultSetConcurrency(), getResultSetType(), m_bEscapeProcessing, nHandle, PROPERTY_ID_CURSORNAME, PROPERTY_ID_ESCAPEPROCESSING, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_MAXFIELDSIZE, PROPERTY_ID_MAXROWS, PROPERTY_ID_QUERYTIMEOUT, PROPERTY_ID_RESULTSETCONCURRENCY, PROPERTY_ID_RESULTSETTYPE, and PROPERTY_ID_USEBOOKMARKS.
|
overrideprotectedvirtual |
Implements comphelper::OPropertyArrayUsageHelper< java_sql_Statement_Base >.
Definition at line 577 of file JStatement.cxx.
References cppu::UnoType< typename T >::get(), dbtools::OPropertyMap::getNameByIndex(), connectivity::OMetaConnection::getPropMap(), PROPERTY_ID_CURSORNAME, PROPERTY_ID_ESCAPEPROCESSING, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_MAXFIELDSIZE, PROPERTY_ID_MAXROWS, PROPERTY_ID_QUERYTIMEOUT, PROPERTY_ID_RESULTSETCONCURRENCY, PROPERTY_ID_RESULTSETTYPE, and PROPERTY_ID_USEBOOKMARKS.
|
protectedpure virtual |
Implemented in connectivity::java_sql_CallableStatement, connectivity::java_sql_Statement, and connectivity::java_sql_PreparedStatement.
Referenced by cancel(), clearWarnings(), execute(), executeQuery(), executeUpdate(), getCursorName(), getGeneratedValues(), getResultSet(), getUpdateCount(), getWarnings(), impl_getProperty(), setCursorName(), setEscapeProcessing(), setFetchDirection(), setFetchSize(), setMaxFieldSize(), setMaxRows(), and setQueryTimeOut().
|
overridevirtual |
Reimplemented in connectivity::OStatement_BASE2.
Definition at line 102 of file JStatement.cxx.
References connectivity::java_lang_Object::clearObject(), connectivity::java::sql::ConnectionLog::log(), m_aLogger, and STR_LOG_CLOSING_STATEMENT.
Referenced by connectivity::OStatement_BASE2::disposing().
|
overridevirtual |
Reimplemented in connectivity::java_sql_PreparedStatement.
Definition at line 210 of file JStatement.cxx.
References connectivity::checkDisposed(), connectivity::convertwchar_tToJavaString(), createStatement(), connectivity::jdbc::LocalRef< T >::get(), connectivity::java::sql::ConnectionLog::log(), m_aLogger, cppu::BaseMutex::m_aMutex, m_pConnection, m_sSqlStatement, connectivity::java_lang_Object::obtainMethodId_throwSQL(), STR_LOG_EXECUTE_STATEMENT, t, and connectivity::java_lang_Object::ThrowLoggedSQLException().
|
overridevirtual |
Reimplemented in connectivity::java_sql_PreparedStatement.
Definition at line 244 of file JStatement.cxx.
References connectivity::checkDisposed(), connectivity::convertwchar_tToJavaString(), createStatement(), connectivity::jdbc::LocalRef< T >::get(), connectivity::java::sql::ConnectionLog::log(), m_aLogger, cppu::BaseMutex::m_aMutex, m_pConnection, m_sSqlStatement, connectivity::java_lang_Object::obtainMethodId_throwSQL(), STR_LOG_EXECUTE_QUERY, t, and connectivity::java_lang_Object::ThrowLoggedSQLException().
|
overridevirtual |
Reimplemented in connectivity::java_sql_PreparedStatement.
Definition at line 327 of file JStatement.cxx.
References connectivity::java_lang_Object::callIntMethodWithStringArg(), connectivity::checkDisposed(), createStatement(), connectivity::java::sql::ConnectionLog::log(), m_aLogger, cppu::BaseMutex::m_aMutex, m_sSqlStatement, STR_LOG_EXECUTE_UPDATE, and t.
|
overridevirtual |
Reimplemented in connectivity::java_sql_PreparedStatement.
Definition at line 279 of file JStatement.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, and m_pConnection.
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 460 of file JStatement.cxx.
References connectivity::java_lang_Object::callStringMethod(), connectivity::checkDisposed(), createStatement(), cppu::BaseMutex::m_aMutex, and t.
Referenced by convertFastPropertyValue(), and getFastPropertyValue().
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
Definition at line 739 of file JStatement.cxx.
References Exception, getCursorName(), getFetchDirection(), getFetchSize(), getMaxFieldSize(), getMaxRows(), getQueryTimeOut(), getResultSetConcurrency(), getResultSetType(), m_bEscapeProcessing, nHandle, PROPERTY_ID_CURSORNAME, PROPERTY_ID_ESCAPEPROCESSING, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_MAXFIELDSIZE, PROPERTY_ID_MAXROWS, PROPERTY_ID_QUERYTIMEOUT, PROPERTY_ID_RESULTSETCONCURRENCY, PROPERTY_ID_RESULTSETTYPE, and PROPERTY_ID_USEBOOKMARKS.
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 442 of file JStatement.cxx.
References impl_getProperty().
Referenced by convertFastPropertyValue(), and getFastPropertyValue().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 448 of file JStatement.cxx.
References impl_getProperty().
Referenced by convertFastPropertyValue(), and getFastPropertyValue().
|
overridevirtual |
Definition at line 136 of file JStatement.cxx.
References connectivity::java_lang_Object::callResultSetMethod(), connectivity::checkDisposed(), createStatement(), connectivity::java::sql::ConnectionLog::log(), m_aLogger, cppu::BaseMutex::m_aMutex, m_pConnection, m_sSqlStatement, m_xGeneratedStatement, STR_LOG_GENERATED_VALUES, STR_LOG_GENERATED_VALUES_FALLBACK, and t.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
Definition at line 647 of file JStatement.cxx.
References comphelper::OPropertyArrayUsageHelper< java_sql_Statement_Base >::getArrayHelper().
Referenced by getPropertySetInfo().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 454 of file JStatement.cxx.
References impl_getProperty().
Referenced by convertFastPropertyValue(), and getFastPropertyValue().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 408 of file JStatement.cxx.
References impl_getProperty().
Referenced by convertFastPropertyValue(), and getFastPropertyValue().
|
overridevirtual |
Definition at line 364 of file JStatement.cxx.
References connectivity::java_lang_Object::callBooleanMethod().
|
overridevirtual |
Reimplemented from connectivity::java_lang_Object.
Reimplemented in connectivity::java_sql_CallableStatement, connectivity::java_sql_Statement, and connectivity::java_sql_PreparedStatement.
Definition at line 94 of file JStatement.cxx.
References connectivity::java_lang_Object::findMyClass(), and theClass.
|
overridevirtual |
Definition at line 858 of file JStatement.cxx.
References getInfoHelper().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 402 of file JStatement.cxx.
References impl_getProperty().
Referenced by convertFastPropertyValue(), and getFastPropertyValue().
|
overridevirtual |
Definition at line 341 of file JStatement.cxx.
References connectivity::java_lang_Object::callResultSetMethod(), createStatement(), m_aLogger, m_pConnection, and t.
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 414 of file JStatement.cxx.
References impl_getProperty(), and m_nResultSetConcurrency.
Referenced by convertFastPropertyValue(), and getFastPropertyValue().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 421 of file JStatement.cxx.
References impl_getProperty(), and m_nResultSetType.
Referenced by convertFastPropertyValue(), and getFastPropertyValue().
|
inline |
Definition at line 160 of file JStatement.hxx.
References connectivity::java::sql::ConnectionLog::getObjectID(), and m_aLogger.
|
overridevirtual |
Reimplemented in connectivity::java_sql_CallableStatement, and connectivity::java_sql_PreparedStatement.
Definition at line 118 of file JStatement.cxx.
References aTypes, begin, end, and m_pConnection.
Referenced by connectivity::java_sql_PreparedStatement::getTypes().
|
overridevirtual |
Definition at line 353 of file JStatement.cxx.
References connectivity::java_lang_Object::callIntMethod_ThrowSQL(), createStatement(), connectivity::java::sql::ConnectionLog::log(), m_aLogger, STR_LOG_UPDATE_COUNT, and t.
|
overridevirtual |
Definition at line 371 of file JStatement.cxx.
References Any, connectivity::java_lang_Object::callObjectMethod(), createStatement(), and t.
|
protected |
Definition at line 435 of file JStatement.cxx.
References connectivity::java_lang_Object::callIntMethod_ThrowRuntime(), createStatement(), and t.
Referenced by getFetchDirection(), getFetchSize(), getMaxFieldSize(), getMaxRows(), getQueryTimeOut(), getResultSetConcurrency(), and getResultSetType().
|
protected |
Definition at line 427 of file JStatement.cxx.
References connectivity::java_lang_Object::callIntMethod_ThrowRuntime().
|
overridevirtual |
Reimplemented from cppu::OPropertySetHelper.
Reimplemented in connectivity::java_sql_CallableStatement, connectivity::java_sql_Statement, and connectivity::java_sql_PreparedStatement.
Definition at line 110 of file JStatement.cxx.
References Any, m_pConnection, and comphelper::OPropertySetHelper::queryInterface().
Referenced by connectivity::java_sql_Statement::queryInterface(), and connectivity::java_sql_PreparedStatement::queryInterface().
|
overridevirtualnoexcept |
Reimplemented in connectivity::java_sql_CallableStatement, connectivity::java_sql_Statement, and connectivity::java_sql_PreparedStatement.
Definition at line 843 of file JStatement.cxx.
Referenced by connectivity::java_sql_Statement::release(), and connectivity::java_sql_PreparedStatement::release().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 564 of file JStatement.cxx.
References connectivity::java_lang_Object::callVoidMethodWithStringArg(), connectivity::checkDisposed(), createStatement(), cppu::BaseMutex::m_aMutex, and t.
Referenced by setFastPropertyValue_NoBroadcast().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 488 of file JStatement.cxx.
References connectivity::java_lang_Object::callVoidMethodWithBoolArg_ThrowRuntime(), connectivity::checkDisposed(), createStatement(), connectivity::java::sql::ConnectionLog::log(), m_aLogger, cppu::BaseMutex::m_aMutex, m_bEscapeProcessing, STR_LOG_SET_ESCAPE_PROCESSING, and t.
Referenced by setFastPropertyValue_NoBroadcast().
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
Definition at line 698 of file JStatement.cxx.
References comphelper::getINT32(), comphelper::getString(), nHandle, PROPERTY_ID_CURSORNAME, PROPERTY_ID_ESCAPEPROCESSING, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_MAXFIELDSIZE, PROPERTY_ID_MAXROWS, PROPERTY_ID_QUERYTIMEOUT, PROPERTY_ID_RESULTSETCONCURRENCY, PROPERTY_ID_RESULTSETTYPE, PROPERTY_ID_USEBOOKMARKS, setCursorName(), setEscapeProcessing(), setFetchDirection(), setFetchSize(), setMaxFieldSize(), setMaxRows(), setQueryTimeOut(), setResultSetConcurrency(), and setResultSetType().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 531 of file JStatement.cxx.
References connectivity::java_lang_Object::callVoidMethodWithIntArg_ThrowRuntime(), connectivity::checkDisposed(), createStatement(), connectivity::java::sql::ConnectionLog::log(), m_aLogger, cppu::BaseMutex::m_aMutex, STR_LOG_FETCH_DIRECTION, and t.
Referenced by setFastPropertyValue_NoBroadcast().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 542 of file JStatement.cxx.
References connectivity::java_lang_Object::callVoidMethodWithIntArg_ThrowRuntime(), connectivity::checkDisposed(), createStatement(), connectivity::java::sql::ConnectionLog::log(), m_aLogger, cppu::BaseMutex::m_aMutex, STR_LOG_FETCH_SIZE, and t.
Referenced by setFastPropertyValue_NoBroadcast().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 554 of file JStatement.cxx.
References connectivity::java_lang_Object::callVoidMethodWithIntArg_ThrowRuntime(), connectivity::checkDisposed(), createStatement(), cppu::BaseMutex::m_aMutex, and t.
Referenced by setFastPropertyValue_NoBroadcast().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 501 of file JStatement.cxx.
References connectivity::java_lang_Object::callVoidMethodWithIntArg_ThrowRuntime(), connectivity::checkDisposed(), createStatement(), cppu::BaseMutex::m_aMutex, and t.
Referenced by setFastPropertyValue_NoBroadcast().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 477 of file JStatement.cxx.
References connectivity::java_lang_Object::callVoidMethodWithIntArg_ThrowRuntime(), connectivity::checkDisposed(), createStatement(), cppu::BaseMutex::m_aMutex, and t.
Referenced by setFastPropertyValue_NoBroadcast().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 511 of file JStatement.cxx.
References connectivity::checkDisposed(), connectivity::java_lang_Object::clearObject(), connectivity::java::sql::ConnectionLog::log(), m_aLogger, cppu::BaseMutex::m_aMutex, m_nResultSetConcurrency, and STR_LOG_RESULT_SET_CONCURRENCY.
Referenced by setFastPropertyValue_NoBroadcast().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 521 of file JStatement.cxx.
References connectivity::checkDisposed(), connectivity::java_lang_Object::clearObject(), connectivity::java::sql::ConnectionLog::log(), m_aLogger, cppu::BaseMutex::m_aMutex, m_nResultSetType, and STR_LOG_RESULT_SET_TYPE.
Referenced by setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 114 of file JStatement.hxx.
Referenced by connectivity::java_sql_PreparedStatement::clearParameters(), connectivity::java_sql_CallableStatement::createStatement(), connectivity::java_sql_Statement::createStatement(), connectivity::java_sql_PreparedStatement::createStatement(), disposing(), connectivity::java_sql_PreparedStatement::execute(), execute(), connectivity::java_sql_PreparedStatement::executeQuery(), executeQuery(), connectivity::java_sql_PreparedStatement::executeUpdate(), executeUpdate(), getGeneratedValues(), getResultSet(), getStatementObjectID(), getUpdateCount(), connectivity::java_sql_CallableStatement::registerNumericOutParameter(), connectivity::java_sql_CallableStatement::registerOutParameter(), connectivity::java_sql_PreparedStatement::setBinaryStream(), connectivity::java_sql_PreparedStatement::setBoolean(), connectivity::java_sql_PreparedStatement::setByte(), connectivity::java_sql_PreparedStatement::setBytes(), connectivity::java_sql_PreparedStatement::setCharacterStream(), connectivity::java_sql_PreparedStatement::setDate(), connectivity::java_sql_PreparedStatement::setDouble(), setEscapeProcessing(), setFetchDirection(), setFetchSize(), connectivity::java_sql_PreparedStatement::setFloat(), connectivity::java_sql_PreparedStatement::setInt(), connectivity::java_sql_PreparedStatement::setLong(), connectivity::java_sql_PreparedStatement::setNull(), connectivity::java_sql_PreparedStatement::setObjectNull(), connectivity::java_sql_PreparedStatement::setObjectWithInfo(), setResultSetConcurrency(), setResultSetType(), connectivity::java_sql_PreparedStatement::setShort(), connectivity::java_sql_PreparedStatement::setString(), connectivity::java_sql_PreparedStatement::setTime(), and connectivity::java_sql_PreparedStatement::setTimestamp().
|
protected |
Definition at line 119 of file JStatement.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), and setEscapeProcessing().
|
protected |
|
protected |
Definition at line 118 of file JStatement.hxx.
Referenced by connectivity::java_sql_CallableStatement::createStatement(), connectivity::java_sql_Statement::createStatement(), connectivity::java_sql_PreparedStatement::createStatement(), getResultSetType(), and setResultSetType().
|
protected |
Definition at line 113 of file JStatement.hxx.
Referenced by connectivity::java_sql_CallableStatement::createStatement(), connectivity::java_sql_Statement::createStatement(), connectivity::java_sql_PreparedStatement::createStatement(), connectivity::OStatement_BASE2::disposing(), execute(), connectivity::java_sql_PreparedStatement::executeQuery(), executeQuery(), getConnection(), connectivity::java_sql_PreparedStatement::getConnection(), getGeneratedValues(), connectivity::java_sql_PreparedStatement::getMetaData(), getResultSet(), getTypes(), queryInterface(), and connectivity::java_sql_PreparedStatement::setObject().
|
protected |
Definition at line 115 of file JStatement.hxx.
Referenced by connectivity::java_sql_CallableStatement::createStatement(), connectivity::java_sql_PreparedStatement::createStatement(), execute(), executeQuery(), executeUpdate(), getGeneratedValues(), and connectivity::java_sql_PreparedStatement::java_sql_PreparedStatement().
|
protected |
Definition at line 112 of file JStatement.hxx.
Referenced by connectivity::OStatement_BASE2::disposing(), and getGeneratedValues().
|
staticprotected |
Definition at line 123 of file JStatement.hxx.
Referenced by getMyClass().