Home
last modified time | relevance | path

Searched refs:sql (Results 1 – 25 of 218) sorted by relevance

123456789

/aoo42x/main/mysqlc/source/
H A Dmysqlc_databasemetadata.cxx119 } 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 Dmysqlc_preparedstatement.cxx74 } 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 Dmysqlc_resultsetmetadata.cxx51 } 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 Dmysqlc_connection.cxx237 } 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 Dmysqlc_general.cxx89 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 Dmysqlc_resultset.cxx108 } 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 Dmysqlc_statement.cxx180 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 Dmysqlc_databasemetadata.hxx59 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 Dmysqlc_statement.hxx82 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 Dmysqlc_connection.hxx52 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)
/aoo42x/main/connectivity/java/sdbc_jdbc/src/com/sun/star/comp/sdbc/
H A DJavaSQLDatabaseMetaData.java79 } catch (java.sql.SQLException jdbcSQLException) { in getTypeInfo()
88 } catch (java.sql.SQLException jdbcSQLException) { in getCatalogs()
101 } catch (java.sql.SQLException jdbcSQLException) { in getCatalogSeparator()
110 } catch (java.sql.SQLException jdbcSQLException) { in getSchemas()
242 } catch (java.sql.SQLException jdbcSQLException) { in getMaxBinaryLiteralLength()
251 } catch (java.sql.SQLException jdbcSQLException) { in getMaxRowSize()
260 } catch (java.sql.SQLException jdbcSQLException) { in getMaxCatalogNameLength()
269 } catch (java.sql.SQLException jdbcSQLException) { in getMaxCharLiteralLength()
278 } catch (java.sql.SQLException jdbcSQLException) { in getMaxColumnNameLength()
287 } catch (java.sql.SQLException jdbcSQLException) { in getMaxColumnsInIndex()
[all …]
H A DJavaSQLResultSet.java80 private java.sql.ResultSet jdbcResultSet;
204 } catch (java.sql.SQLException exception) { in getCursorName()
212 } catch (java.sql.SQLException exception) { in getFetchDirection()
220 } catch (java.sql.SQLException exception) { in setFetchDirection()
228 } catch (java.sql.SQLException exception) { in getFetchSize()
236 } catch (java.sql.SQLException exception) { in setFetchSize()
244 } catch (java.sql.SQLException exception) { in getResultSetConcurrency()
252 } catch (java.sql.SQLException exception) { in getResultSetType()
263 } catch (java.sql.SQLException exception) { in findColumn()
272 } catch (java.sql.SQLException exception) { in getBinaryStream()
[all …]
H A DJavaSQLCallableStatement.java44 super(connection, sql); in JavaSQLCallableStatement()
91 } catch (java.sql.SQLException exception) { in getBoolean()
101 } catch (java.sql.SQLException exception) { in getByte()
111 } catch (java.sql.SQLException exception) { in getBytes()
120 … java.sql.Date jdbcDate = ((java.sql.CallableStatement)jdbcStatement).getDate(columnIndex); in getDate()
175 … java.sql.Array array = ((java.sql.CallableStatement)jdbcStatement).getArray(columnIndex); in getArray()
190 java.sql.Clob clob = ((java.sql.CallableStatement)jdbcStatement).getClob(columnIndex); in getClob()
205 java.sql.Blob blob = ((java.sql.CallableStatement)jdbcStatement).getBlob(columnIndex); in getBlob()
220 java.sql.Ref ref = ((java.sql.CallableStatement)jdbcStatement).getRef(columnIndex); in getRef()
289 java.sql.Time time = ((java.sql.CallableStatement)jdbcStatement).getTime(columnIndex); in getTime()
[all …]
H A DJavaSQLPreparedStatement.java118 } catch (java.sql.SQLException sqlException) { in execute()
129 } catch (java.sql.SQLException sqlException) { in executeUpdate()
139 … java.sql.ResultSet jdbcResults = ((java.sql.PreparedStatement)jdbcStatement).executeQuery(); in executeQuery()
144 } catch (java.sql.SQLException sqlException) { in executeQuery()
191 } catch (java.sql.SQLException sqlException) { in setBoolean()
202 } catch (java.sql.SQLException sqlException) { in setByte()
213 } catch (java.sql.SQLException sqlException) { in setBytes()
248 } catch (java.sql.SQLException sqlException) { in setDate()
259 } catch (java.sql.SQLException sqlException) { in setDouble()
270 } catch (java.sql.SQLException sqlException) { in setFloat()
[all …]
H A DJavaSQLStatement.java72 jdbcStatement.addBatch(sql); in addBatch()
73 } catch (java.sql.SQLException sqlException) { in addBatch()
83 } catch (java.sql.SQLException sqlException) { in clearBatch()
93 } catch (java.sql.SQLException sqlException) { in executeBatch()
103 sqlStatement = sql; in execute()
105 return jdbcStatement.execute(sql); in execute()
106 } catch (java.sql.SQLException sqlException) { in execute()
115 sqlStatement = sql; in executeQuery()
117 java.sql.ResultSet jdbcResultSet = jdbcStatement.executeQuery(sql); in executeQuery()
132 sqlStatement = sql; in executeUpdate()
[all …]
H A DJavaSQLResultSetMetaData.java42 } catch (java.sql.SQLException jdbcSQLException) { in getColumnDisplaySize()
51 } catch (java.sql.SQLException jdbcSQLException) { in getColumnType()
63 } catch (java.sql.SQLException jdbcSQLException) { in getColumnCount()
72 } catch (java.sql.SQLException jdbcSQLException) { in isCaseSensitive()
85 } catch (java.sql.SQLException jdbcSQLException) { in getSchemaName()
98 } catch (java.sql.SQLException jdbcSQLException) { in getColumnName()
111 } catch (java.sql.SQLException jdbcSQLException) { in getTableName()
124 } catch (java.sql.SQLException jdbcSQLException) { in getCatalogName()
137 } catch (java.sql.SQLException jdbcSQLException) { in getColumnTypeName()
150 } catch (java.sql.SQLException jdbcSQLException) { in getColumnLabel()
[all …]
H A DJavaSQLConnection.java75 private java.sql.Driver driverObject;
76 private java.sql.Connection connection;
99 } catch (java.sql.SQLException sqlException) { in postDisposing()
140 } catch (java.sql.SQLException sqlException) { in clearWarnings()
160 } catch (java.sql.SQLException sqlException) { in getWarnings()
171 } catch (java.sql.SQLException sqlException) { in commit()
190 } catch (java.sql.SQLException sqlException) { in getAutoCommit()
205 } catch (java.sql.SQLException sqlException) { in getCatalog()
215 } catch (java.sql.SQLException sqlException) { in getMetaData()
259 String ret = connection.nativeSQL(sql); in nativeSQL()
[all …]
H A DJavaSQLStatementBase.java54 protected java.sql.Statement jdbcStatement;
80 } catch (java.sql.SQLException sqlException) { in postDisposing()
366 } catch (java.sql.SQLException exception) { in setResultSetConcurrency()
388 } catch (java.sql.SQLException exception) { in setResultSetType()
404 } catch (java.sql.SQLException jdbcException) { in cancel()
424 } catch (java.sql.SQLException sqlException) { in clearWarnings()
444 } catch (java.sql.SQLException sqlException) { in getWarnings()
455 java.sql.ResultSet jdbcResultSet = null; in getGeneratedValues()
485 } catch (java.sql.SQLException sqlException) { in getMoreResults()
500 } catch (java.sql.SQLException sqlException) { in getResultSet()
[all …]
H A DJavaSQLBlob.java40 private final java.sql.Blob jdbcBlob;
42 public JavaSQLBlob(ResourceBasedEventLogger logger, java.sql.Blob jdbcBlob) { in JavaSQLBlob()
51 } catch (java.sql.SQLException jdbcSQLException) { in postDisposing()
65 } catch (java.sql.SQLException jdbcSQLException) { in getBinaryStream()
74 } catch (java.sql.SQLException jdbcSQLException) { in getBytes()
83 } catch (java.sql.SQLException jdbcSQLException) { in length()
92 } catch (java.sql.SQLException jdbcSQLException) { in position()
H A DJavaSQLClob.java40 private final java.sql.Clob jdbcClob;
42 public JavaSQLClob(ResourceBasedEventLogger logger, java.sql.Clob jdbcClob) { in JavaSQLClob()
51 } catch (java.sql.SQLException jdbcSQLException) { in postDisposing()
65 } catch (java.sql.SQLException jdbcSQLException) { in getCharacterStream()
74 } catch (java.sql.SQLException jdbcSQLException) { in getSubString()
83 } catch (java.sql.SQLException jdbcSQLException) { in length()
92 } catch (java.sql.SQLException jdbcSQLException) { in position()
/aoo42x/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DDbTools.java397 sql += keyStatement; in createSqlCreateTableStatement()
399 sql += ')'; in createSqlCreateTableStatement()
401 return sql; in createSqlCreateTableStatement()
474 sql.append(' '); in createStandardColumnPart()
555 sql.append(prefix); in createStandardColumnPart()
565 sql.append(' '); in createStandardColumnPart()
573 return sql.toString(); in createStandardColumnPart()
650 sql.append(')'); in createStandardKeyStatement()
652 return sql.toString(); in createStandardKeyStatement()
674 sql.append(')'); in generateColumnNames()
[all …]
/aoo42x/main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/
H A DPostgresqlViews.java64 String sql = "SELECT view_definition,check_option FROM information_schema.views WHERE "; in createObject() local
66 sql += "table_catalog=? AND "; in createObject()
69 sql += "table_schema=? AND "; in createObject()
71 sql += "table_name=?"; in createObject()
78 statement = metadata.getConnection().prepareStatement(sql); in createObject()
124 …String sql = String.format("DROP VIEW %s", DbTools.composeTableName(metadata, propertySet, Compose… in dropObject() local
128 statement.execute(sql); in dropObject()
145 String sql = String.format("CREATE VIEW %s AS %s", in appendObject() local
149 statement.execute(sql); in appendObject()
/aoo42x/main/connectivity/source/drivers/jdbc/
H A DJStatement.cxx71 ,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 …]
/aoo42x/main/qadevOOo/runner/stats/
H A DSQLExecution.java25 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()
/aoo42x/main/reportbuilder/java/com/sun/star/report/
H A DSDBCReportData.java44 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()

Completed in 224 milliseconds

123456789