/aoo41x/main/mysqlc/source/ |
H A D | mysqlc_databasemetadata.cxx | 119 } catch (sql::InvalidArgumentException) { in impl_getStringMetaData() 121 } catch (const sql::SQLException& e) { in impl_getStringMetaData() 138 } catch (sql::InvalidArgumentException) { in impl_getStringMetaData() 140 } catch (const sql::SQLException& e) { in impl_getStringMetaData() 159 } catch (const sql::SQLException& e) { in impl_getStringMetaData() 178 } catch (const sql::SQLException& e) { in impl_getStringMetaData() 197 } catch (const sql::SQLException& e) { in impl_getInt32MetaData() 216 } catch (const sql::SQLException& e) { in impl_getBoolMetaData() 235 } catch (const sql::SQLException& e) { in impl_getBoolMetaData() 857 } catch (const sql::SQLException& e) { in supportsConvert() [all …]
|
H A D | mysqlc_resultsetmetadata.cxx | 51 } catch (sql::SQLException &e) { in getColumnDisplaySize() 70 } catch (sql::SQLException &e) { in getColumnType() 91 } catch (sql::SQLException &e) { in getColumnCount() 110 } catch (sql::SQLException &e) { in isCaseSensitive() 129 } catch (sql::SQLException &e) { in getSchemaName() 148 } catch (sql::SQLException &e) { in getColumnName() 167 } catch (sql::SQLException &e) { in getTableName() 186 } catch (sql::SQLException &e) { in getCatalogName() 205 } catch (sql::SQLException &e) { in getColumnTypeName() 224 } catch (sql::SQLException &e) { in getColumnLabel() [all …]
|
H A D | mysqlc_preparedstatement.cxx | 74 } catch (sql::SQLException &e) { in OPreparedStatement() 150 } catch (sql::SQLException &e) { in getMetaData() 192 } catch (sql::SQLException &e) { in execute() 211 } catch (sql::SQLException &e) { in executeUpdate() 233 } catch (sql::SQLException &e) { in setString() 280 sql::ResultSet * res = ((sql::PreparedStatement *)cppStatement)->executeQuery(); in executeQuery() 282 } catch (sql::SQLException &e) { in executeQuery() 303 } catch (sql::SQLException &e) { in setBoolean() 323 } catch (sql::SQLException &e) { in setByte() 351 } catch (sql::SQLException &e) { in setDate() [all …]
|
H A D | mysqlc_connection.cxx | 237 } catch (sql::SQLException &e) { in construct() 282 } catch (sql::SQLException & e) { in createStatement() 306 } catch (sql::SQLException & e) { in prepareStatement() 340 } catch (sql::SQLException & e) { in nativeSQL() 357 } catch (sql::SQLException & e) { in setAutoCommit() 378 } catch (sql::SQLException & e) { in getAutoCommit() 395 } catch (sql::SQLException & e) { in commit() 411 } catch (sql::SQLException & e) { in rollback() 492 } catch (sql::SQLException & e) { in setCatalog() 510 } catch (sql::SQLException & e) { in getCatalog() [all …]
|
H A D | mysqlc_general.cxx | 89 case sql::DataType::BIT: in mysqlToOOOType() 92 case sql::DataType::TINYINT: in mysqlToOOOType() 101 case sql::DataType::BIGINT: in mysqlToOOOType() 104 case sql::DataType::REAL: in mysqlToOOOType() 107 case sql::DataType::DOUBLE: in mysqlToOOOType() 113 case sql::DataType::CHAR: in mysqlToOOOType() 116 case sql::DataType::BINARY: in mysqlToOOOType() 119 case sql::DataType::ENUM: in mysqlToOOOType() 120 case sql::DataType::SET: in mysqlToOOOType() 136 case sql::DataType::DATE: in mysqlToOOOType() [all …]
|
H A D | mysqlc_resultset.cxx | 108 } catch (sql::SQLException &e) { in OResultSet() 182 } catch (sql::SQLException &e) { in findColumn() 231 } catch (sql::SQLException &e) { in getBoolean() 262 } catch (sql::SQLException &e) { in getByte() 321 } catch (sql::SQLException &e) { in getDate() 340 } catch (sql::SQLException &e) { in getDouble() 359 } catch (sql::SQLException &e) { in getFloat() 378 } catch (sql::SQLException &e) { in getInt() 396 } catch (sql::SQLException &e) { in getRow() 415 } catch (sql::SQLException &e) { in getLong() [all …]
|
H A D | mysqlc_statement.cxx | 180 sal_Bool SAL_CALL OCommonStatement::execute(const OUString& sql) in execute() argument 191 } catch (sql::SQLException &e) { in execute() 200 Reference< XResultSet > SAL_CALL OCommonStatement::executeQuery(const OUString& sql) in executeQuery() argument 207 const ::rtl::OUString sSqlStatement = m_pConnection->transFormPreparedStatement(sql); in executeQuery() 214 } catch (sql::SQLException &e) { in executeQuery() 261 void SAL_CALL OStatement::addBatch(const OUString& sql) in addBatch() argument 268 m_aBatchList.push_back(sql); in addBatch() 288 sal_Int32 SAL_CALL OCommonStatement::executeUpdate(const OUString& sql) in executeUpdate() argument 299 } catch (sql::SQLException &e) { in executeUpdate() 317 std::auto_ptr< sql::ResultSet > rset(cppStatement->getResultSet()); in getResultSet() [all …]
|
H A D | mysqlc_databasemetadata.hxx | 59 sql::DatabaseMetaData * meta; 64 …pl_getStringMetaData( const sal_Char* _methodName, const ext_std::string& (sql::DatabaseMetaData::… 65 …OUString impl_getStringMetaData( const sal_Char* _methodName, ext_std::string (sql::DatabaseMetaDa… 66 …String impl_getStringMetaData( const sal_Char* _methodName, const sql::SQLString& (sql::DatabaseMe… 67 …OUString impl_getStringMetaData( const sal_Char* _methodName, sql::SQLString (sql::DatabaseMetaDat… 68 …sal_Int32 impl_getInt32MetaData( const sal_Char* _methodName, unsigned int (sql::DatabaseMetaData:… 69 …sal_Bool impl_getBoolMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)… 70 …sal_Bool impl_getBoolMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)… 71 …sal_Bool impl_getRSTypeMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Metho…
|
H A D | mysqlc_statement.hxx | 82 sql::Statement *cppStatement; 103 OCommonStatement(OConnection* _pConnection, sql::Statement *_cppStatement); 130 …ar::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL executeQuery(const OUString& sql) 133 sal_Int32 SAL_CALL executeUpdate(const OUString& sql) 136 sal_Bool SAL_CALL execute( const OUString& sql ) 179 …OStatement(OConnection* _pConnection, sql::Statement *_cppStatement) : OCommonStatement(_pConnecti… in OStatement() 189 void SAL_CALL addBatch(const OUString& sql)
|
H A D | mysqlc_connection.hxx | 52 namespace sql namespace 80 std::auto_ptr<sql::Connection> cppConnection; 120 sql::Driver* cppDriver; 138 OConnection(MysqlCDriver& _rDriver, sql::Driver * cppDriver); 159 my_XPreparedStatementRef SAL_CALL prepareStatement(const OUString& sql) 162 my_XPreparedStatementRef SAL_CALL prepareCall(const OUString& sql) 165 OUString SAL_CALL nativeSQL(const OUString& sql)
|
/aoo41x/main/connectivity/source/drivers/jdbc/ |
H A D | JStatement.cxx | 71 ,m_aLogger( _rCon.getLogger(), java::sql::ConnectionLog::STATEMENT ) in java_sql_Statement_Base() 229 m_aLogger.log( LogLevel::FINE, STR_LOG_EXECUTE_STATEMENT, sql ); in execute() 237 m_sSqlStatement = sql; in execute() 245 jdbc::LocalRef< jstring > str( t.env(), convertwchar_tToJavaString( t.pEnv, sql ) ); in execute() 265 m_aLogger.log( LogLevel::FINE, STR_LOG_EXECUTE_QUERY, sql ); in executeQuery() 272 m_sSqlStatement = sql; in executeQuery() 280 jdbc::LocalRef< jstring > str( t.env(), convertwchar_tToJavaString( t.pEnv, sql ) ); in executeQuery() 319 callVoidMethodWithStringArg("addBatch",mID,sql); in addBatch() 349 m_aLogger.log( LogLevel::FINE, STR_LOG_EXECUTE_UPDATE, sql ); in executeUpdate() 353 m_sSqlStatement = sql; in executeUpdate() [all …]
|
H A D | JConnection.cxx | 498 …t > SAL_CALL java_sql_Connection::prepareStatement( const ::rtl::OUString& sql ) throw(SQLExceptio… in prepareStatement() argument 502 m_aLogger.log( LogLevel::FINE, STR_LOG_PREPARE_STATEMENT, sql ); in prepareStatement() 505 ::rtl::OUString sSqlStatement = sql; in prepareStatement() 516 …tement > SAL_CALL java_sql_Connection::prepareCall( const ::rtl::OUString& sql ) throw(SQLExceptio… in prepareCall() argument 520 m_aLogger.log( LogLevel::FINE, STR_LOG_PREPARE_CALL, sql ); in prepareCall() 523 ::rtl::OUString sSqlStatement = sql; in prepareCall() 534 ::rtl::OUString SAL_CALL java_sql_Connection::nativeSQL( const ::rtl::OUString& sql ) throw(SQLExce… in nativeSQL() argument 550 jdbc::LocalRef< jstring > str( t.env(),convertwchar_tToJavaString(t.pEnv,sql)); in nativeSQL() 557 m_aLogger.log( LogLevel::FINER, STR_LOG_NATIVE_SQL, sql, aStr ); in nativeSQL() 620 bool lcl_setSystemProperties_nothrow( const java::sql::ConnectionLog& _rLogger, in lcl_setSystemProperties_nothrow()
|
/aoo41x/main/qadevOOo/runner/stats/ |
H A D | SQLExecution.java | 25 import java.sql.Connection; 26 import java.sql.DriverManager; 27 import java.sql.ResultSet; 28 import java.sql.ResultSetMetaData; 29 import java.sql.Statement; 97 catch(java.sql.SQLException e) { in openConnection() 116 catch(java.sql.SQLException e) { in closeConnection() 312 catch (java.sql.SQLException e) { in execute()
|
/aoo41x/main/reportbuilder/java/com/sun/star/report/ |
H A D | SDBCReportData.java | 44 import java.sql.Timestamp; 198 static private java.sql.Date getDate(final Object obj) in getDate() 200 final java.sql.Date date; in getDate() 204 … date = java.sql.Date.valueOf(getDateString(unodate.Year, unodate.Month, unodate.Day).toString()); in getDate() 258 static private java.sql.Time getTime(final Object obj) in getTime() 260 final java.sql.Time time; in getTime() 264 …time = java.sql.Time.valueOf(getTimeString(unoTime.Hours, unoTime.Minutes, unoTime.Seconds).toStri… in getTime() 284 ts = java.sql.Timestamp.valueOf(str.toString()); in getTimestamp()
|
/aoo41x/main/dbaccess/source/core/dataaccess/ |
H A D | SharedConnection.cxx | 71 …ent > SAL_CALL OSharedConnection::prepareStatement( const ::rtl::OUString& sql ) throw(SQLExceptio… in prepareStatement() argument 77 return m_xConnection->prepareStatement(sql); in prepareStatement() 80 Reference< XPreparedStatement > SAL_CALL OSharedConnection::prepareCall( const ::rtl::OUString& sql… in prepareCall() argument 86 return m_xConnection->prepareCall(sql); in prepareCall() 89 ::rtl::OUString SAL_CALL OSharedConnection::nativeSQL( const ::rtl::OUString& sql ) throw(SQLExcept… in nativeSQL() argument 95 return m_xConnection->nativeSQL(sql); in nativeSQL()
|
/aoo41x/main/qadevOOo/runner/convwatch/ |
H A D | DB.java | 24 import java.sql.Connection; 262 java.sql.Statement oStmt = null; in QuerySQL() 269 java.sql.ResultSet aResultSet = oStmt.executeQuery(_sSQL); in QuerySQL() 270 java.sql.ResultSetMetaData aResultSetMetaData = aResultSet.getMetaData(); in QuerySQL() 296 case java.sql.Types.VARCHAR: in QuerySQL() 299 case java.sql.Types.INTEGER: in QuerySQL() 317 catch (java.sql.SQLException e) in QuerySQL() 322 catch (java.sql.SQLException e) in QuerySQL()
|
H A D | DBHelper.java | 26 import java.sql.Connection; 27 import java.sql.DriverManager; 28 import java.sql.Statement; 29 import java.sql.ResultSet; 30 import java.sql.SQLException; 49 catch(java.sql.SQLException e) in getConnection()
|
/aoo41x/main/connectivity/source/drivers/odbcbase/ |
H A D | OStatement.cxx | 279 sal_Bool OStatement_Base::lockIfNecessary (const ::rtl::OUString& sql) throw( SQLException) in lockIfNecessary() argument 285 ::rtl::OUString sqlStatement = sql.toAsciiUpperCase (); in lockIfNecessary() 351 sal_Bool SAL_CALL OStatement_Base::execute( const ::rtl::OUString& sql ) throw(SQLException, Runtim… in execute() argument 355 m_sSqlStatement = sql; in execute() 358 ::rtl::OString aSql(::rtl::OUStringToOString(sql,getOwnConnection()->getTextEncoding())); in execute() 370 lockIfNecessary (sql); in execute() 466 if (execute (sql)) in executeQuery() 496 void SAL_CALL OStatement::addBatch( const ::rtl::OUString& sql ) throw(SQLException, RuntimeExcepti… in addBatch() argument 502 m_aBatchList.push_back(sql); in addBatch() 539 sal_Int32 SAL_CALL OStatement_Base::executeUpdate( const ::rtl::OUString& sql ) throw(SQLException,… in executeUpdate() argument [all …]
|
/aoo41x/main/connectivity/source/cpool/ |
H A D | ZConnectionWrapper.cxx | 70 … SAL_CALL OConnectionWeakWrapper::prepareStatement( const ::rtl::OUString& sql ) throw(SQLExceptio… in prepareStatement() argument 76 return m_xConnection->prepareStatement(sql); in prepareStatement() 79 …ent > SAL_CALL OConnectionWeakWrapper::prepareCall( const ::rtl::OUString& sql ) throw(SQLExceptio… in prepareCall() argument 85 return m_xConnection->prepareCall(sql); in prepareCall() 88 ::rtl::OUString SAL_CALL OConnectionWeakWrapper::nativeSQL( const ::rtl::OUString& sql ) throw(SQLE… in nativeSQL() argument 94 return m_xConnection->nativeSQL(sql); in nativeSQL()
|
/aoo41x/main/offapi/com/sun/star/sdbc/ |
H A D | XStatement.idl | 59 @param sql 66 XResultSet executeQuery([in]string sql) raises (SQLException); 73 @param sql 80 long executeUpdate([in]string sql) raises (SQLException); 107 @param sql 114 boolean execute([in]string sql) raises (SQLException);
|
/aoo41x/main/connectivity/source/drivers/ado/ |
H A D | AConnection.cxx | 181 Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement( const ::rtl::OUString& sql … in prepareStatement() argument 187 OPreparedStatement* pStmt = new OPreparedStatement(this,m_aTypeInfo,sql); in prepareStatement() 193 Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall( const ::rtl::OUString& sql ) thr… in prepareCall() argument 199 OCallableStatement* pStmt = new OCallableStatement(this,m_aTypeInfo,sql); in prepareCall() 211 ::rtl::OUString sql = _sql; in nativeSQL() 219 aCommand.put_CommandText(sql); in nativeSQL() 220 sql = aCommand.get_CommandText(); in nativeSQL() 223 return sql; in nativeSQL()
|
H A D | AStatement.cxx | 259 sal_Bool SAL_CALL OStatement_Base::execute( const ::rtl::OUString& sql ) throw(SQLException, Runtim… in execute() argument 272 CHECK_RETURN(m_Command.put_CommandText(sql)) in execute() 289 Reference< XResultSet > SAL_CALL OStatement_Base::executeQuery( const ::rtl::OUString& sql ) throw(… in executeQuery() argument 301 CHECK_RETURN(m_Command.put_CommandText(sql)) in executeQuery() 343 void SAL_CALL OStatement::addBatch( const ::rtl::OUString& sql ) throw(SQLException, RuntimeExcepti… in addBatch() argument 349 m_aBatchList.push_back(sql); in addBatch() 398 sal_Int32 SAL_CALL OStatement_Base::executeUpdate( const ::rtl::OUString& sql ) throw(SQLException,… in executeUpdate() argument 408 CHECK_RETURN(m_Command.put_CommandText(sql)) in executeUpdate()
|
/aoo41x/main/connectivity/source/inc/java/sql/ |
H A D | Connection.hxx | 56 java::sql::ConnectionLog 107 const java::sql::ConnectionLog& getLogger() const { return m_aLogger; } in getLogger() 122 …bc::XPreparedStatement > SAL_CALL prepareStatement( const ::rtl::OUString& sql ) throw(::com::sun:… 123 …r::sdbc::XPreparedStatement > SAL_CALL prepareCall( const ::rtl::OUString& sql ) throw(::com::sun:… 124 …virtual ::rtl::OUString SAL_CALL nativeSQL( const ::rtl::OUString& sql ) throw(::com::sun::star::s…
|
/aoo41x/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/ |
H A D | SStatement.cxx | 132 sal_Bool SAL_CALL OStatement_Base::execute( const ::rtl::OUString& sql ) throw(SQLException, Runtim… in execute() argument 142 Reference< XResultSet > SAL_CALL OStatement_Base::executeQuery( const ::rtl::OUString& sql ) throw(… in executeQuery() argument 180 void SAL_CALL OStatement::addBatch( const ::rtl::OUString& sql ) throw(SQLException, RuntimeExcepti… in addBatch() argument 186 m_aBatchList.push_back(sql); in addBatch() 199 sal_Int32 SAL_CALL OStatement_Base::executeUpdate( const ::rtl::OUString& sql ) throw(SQLException,… in executeUpdate() argument
|
/aoo41x/main/connectivity/source/drivers/file/ |
H A D | FStatement.cxx | 309 sal_Bool SAL_CALL OStatement::execute( const ::rtl::OUString& sql ) throw(SQLException, RuntimeExce… in execute() argument 313 executeQuery(sql); in execute() 320 Reference< XResultSet > SAL_CALL OStatement::executeQuery( const ::rtl::OUString& sql ) throw(SQLEx… in executeQuery() argument 325 construct(sql); in executeQuery() 342 sal_Int32 SAL_CALL OStatement::executeUpdate( const ::rtl::OUString& sql ) throw(SQLException, Runt… in executeUpdate() argument 348 construct(sql); in executeUpdate() 462 void OStatement_Base::construct(const ::rtl::OUString& sql) throw(SQLException, RuntimeException) in construct() argument 466 m_pParseTree = m_aParser.parseTree(aErr,sql); in construct()
|