LibreOffice Module connectivity (master) 1
Functions
mysqlc_sdbc_driver Namespace Reference

Functions

void allocateSqlVar (void **mem, enum_field_types eType, unsigned nSize)
 
void throwFeatureNotImplementedException (const char *_pAsciiFeatureName, const css::uno::Reference< XInterface > &_rxContext)
 
void throwInvalidArgumentException (const char *_pAsciiFeatureName, const css::uno::Reference< XInterface > &_rxContext)
 
void throwSQLExceptionWithMsg (const char *msg, const char *SQLSTATE, unsigned int errorNum, const css::uno::Reference< css::uno::XInterface > &_context, const rtl_TextEncoding encoding)
 
void throwSQLExceptionWithMsg (const OUString &msg, const char *SQLSTATE, unsigned int errorNum, const css::uno::Reference< css::uno::XInterface > &_context)
 
sal_Int32 mysqlToOOOType (int eType, int charsetnr) noexcept
 
sal_Int32 mysqlStrToOOOType (std::u16string_view sType)
 
OUString mysqlTypeToStr (unsigned type, unsigned flags)
 
OUString convert (const ::std::string &_string, const rtl_TextEncoding encoding)
 
template<typename T >
void resetSqlVar (void **target, T *pValue, enum_field_types type, sal_Int32 nSize=0)
 
void throwFeatureNotImplementedException (const char *_pAsciiFeatureName, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 
void throwInvalidArgumentException (const char *_pAsciiFeatureName, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 

Function Documentation

◆ allocateSqlVar()

void mysqlc_sdbc_driver::allocateSqlVar ( void **  mem,
enum_field_types  eType,
unsigned  nSize 
)

Definition at line 37 of file mysqlc_general.cxx.

References eType, and SAL_WARN.

Referenced by connectivity::mysqlc::OPreparedResultSet::fetchResult().

◆ convert()

OUString mysqlc_sdbc_driver::convert ( const ::std::string &  _string,
const rtl_TextEncoding  encoding 
)

◆ mysqlStrToOOOType()

sal_Int32 mysqlc_sdbc_driver::mysqlStrToOOOType ( std::u16string_view  sType)

◆ mysqlToOOOType()

sal_Int32 mysqlc_sdbc_driver::mysqlToOOOType ( int  eType,
int  charsetnr 
)
noexcept

Definition at line 123 of file mysqlc_general.cxx.

References eType.

Referenced by connectivity::mysqlc::OResultSetMetaData::OResultSetMetaData().

◆ mysqlTypeToStr()

OUString mysqlc_sdbc_driver::mysqlTypeToStr ( unsigned  type,
unsigned  flags 
)

Definition at line 253 of file mysqlc_general.cxx.

References type.

Referenced by connectivity::mysqlc::OResultSetMetaData::getColumnTypeName().

◆ resetSqlVar()

template<typename T >
void mysqlc_sdbc_driver::resetSqlVar ( void **  target,
T *  pValue,
enum_field_types  type,
sal_Int32  nSize = 0 
)

◆ throwFeatureNotImplementedException() [1/2]

void mysqlc_sdbc_driver::throwFeatureNotImplementedException ( const char *  _pAsciiFeatureName,
const css::uno::Reference< css::uno::XInterface > &  _rxContext 
)

◆ throwFeatureNotImplementedException() [2/2]

void mysqlc_sdbc_driver::throwFeatureNotImplementedException ( const char *  _pAsciiFeatureName,
const css::uno::Reference< XInterface > &  _rxContext 
)

Definition at line 92 of file mysqlc_general.cxx.

References Any, and sMessage.

Referenced by connectivity::mysqlc::OPreparedResultSet::afterLast(), connectivity::mysqlc::OPreparedResultSet::cancelRowUpdates(), connectivity::mysqlc::OResultSet::cancelRowUpdates(), connectivity::mysqlc::OPreparedResultSet::compareBookmarks(), connectivity::mysqlc::OResultSet::compareBookmarks(), connectivity::mysqlc::OPreparedResultSet::deleteRow(), connectivity::mysqlc::OResultSet::deleteRow(), connectivity::mysqlc::OPreparedResultSet::deleteRows(), connectivity::mysqlc::OPreparedResultSet::getArray(), connectivity::mysqlc::OResultSet::getArray(), connectivity::mysqlc::OPreparedResultSet::getBinaryStream(), connectivity::mysqlc::OPreparedResultSet::getBlob(), connectivity::mysqlc::OResultSet::getBlob(), connectivity::mysqlc::OPreparedResultSet::getBookmark(), connectivity::mysqlc::OResultSet::getBookmark(), connectivity::mysqlc::OPreparedResultSet::getCharacterStream(), connectivity::mysqlc::OResultSet::getCharacterStream(), connectivity::mysqlc::OPreparedResultSet::getClob(), connectivity::mysqlc::OResultSet::getClob(), connectivity::mysqlc::OPreparedResultSet::getObject(), connectivity::mysqlc::OPreparedResultSet::getRef(), connectivity::mysqlc::OResultSet::getRef(), connectivity::mysqlc::OPreparedResultSet::hashBookmark(), connectivity::mysqlc::OResultSet::hashBookmark(), connectivity::mysqlc::OPreparedResultSet::insertRow(), connectivity::mysqlc::OResultSet::insertRow(), connectivity::mysqlc::OPreparedResultSet::moveRelativeToBookmark(), connectivity::mysqlc::OResultSet::moveRelativeToBookmark(), connectivity::mysqlc::OPreparedResultSet::moveToInsertRow(), connectivity::mysqlc::OResultSet::moveToInsertRow(), connectivity::mysqlc::OConnection::prepareCall(), connectivity::mysqlc::OPreparedResultSet::refreshRow(), connectivity::mysqlc::OResultSet::refreshRow(), connectivity::mysqlc::OPreparedStatement::setObject(), connectivity::mysqlc::OPreparedStatement::setObjectNull(), connectivity::mysqlc::OPreparedResultSet::updateBinaryStream(), connectivity::mysqlc::OPreparedResultSet::updateBoolean(), connectivity::mysqlc::OResultSet::updateBoolean(), connectivity::mysqlc::OPreparedResultSet::updateByte(), connectivity::mysqlc::OResultSet::updateByte(), connectivity::mysqlc::OPreparedResultSet::updateBytes(), connectivity::mysqlc::OPreparedResultSet::updateCharacterStream(), connectivity::mysqlc::OPreparedResultSet::updateDate(), connectivity::mysqlc::OPreparedResultSet::updateDouble(), connectivity::mysqlc::OResultSet::updateDouble(), connectivity::mysqlc::OPreparedResultSet::updateFloat(), connectivity::mysqlc::OResultSet::updateFloat(), connectivity::mysqlc::OPreparedResultSet::updateInt(), connectivity::mysqlc::OResultSet::updateInt(), connectivity::mysqlc::OPreparedResultSet::updateLong(), connectivity::mysqlc::OResultSet::updateLong(), connectivity::mysqlc::OPreparedResultSet::updateNull(), connectivity::mysqlc::OResultSet::updateNull(), connectivity::mysqlc::OPreparedResultSet::updateNumericObject(), connectivity::mysqlc::OResultSet::updateNumericObject(), connectivity::mysqlc::OPreparedResultSet::updateObject(), connectivity::mysqlc::OResultSet::updateObject(), connectivity::mysqlc::OPreparedResultSet::updateRow(), connectivity::mysqlc::OResultSet::updateRow(), connectivity::mysqlc::OPreparedResultSet::updateShort(), connectivity::mysqlc::OResultSet::updateShort(), connectivity::mysqlc::OPreparedResultSet::updateString(), connectivity::mysqlc::OResultSet::updateString(), connectivity::mysqlc::OPreparedResultSet::updateTime(), and connectivity::mysqlc::OPreparedResultSet::updateTimestamp().

◆ throwInvalidArgumentException() [1/2]

void mysqlc_sdbc_driver::throwInvalidArgumentException ( const char *  _pAsciiFeatureName,
const css::uno::Reference< css::uno::XInterface > &  _rxContext 
)

◆ throwInvalidArgumentException() [2/2]

void mysqlc_sdbc_driver::throwInvalidArgumentException ( const char *  _pAsciiFeatureName,
const css::uno::Reference< XInterface > &  _rxContext 
)

Definition at line 100 of file mysqlc_general.cxx.

References Any, and sMessage.

Referenced by connectivity::mysqlc::OPreparedStatement::setObjectWithInfo().

◆ throwSQLExceptionWithMsg() [1/2]

void mysqlc_sdbc_driver::throwSQLExceptionWithMsg ( const char *  msg,
const char *  SQLSTATE,
unsigned int  errorNum,
const css::uno::Reference< css::uno::XInterface > &  _context,
const rtl_TextEncoding  encoding 
)

◆ throwSQLExceptionWithMsg() [2/2]

void mysqlc_sdbc_driver::throwSQLExceptionWithMsg ( const OUString &  msg,
const char *  SQLSTATE,
unsigned int  errorNum,
const css::uno::Reference< css::uno::XInterface > &  _context 
)

Definition at line 116 of file mysqlc_general.cxx.

References Any.