/trunk/main/connectivity/source/drivers/adabas/ |
H A D | BTable.cxx | 198 if(xStmt.is()) in alterColumnByName() 243 if(xStmt.is()) in alterColumnType() 245 xStmt->execute(sSql); in alterColumnType() 264 if(xStmt.is()) in alterNotNullValue() 266 xStmt->execute(sSql); in alterNotNullValue() 277 if(xStmt.is()) in alterDefaultValue() 290 if(xStmt.is()) in dropDefaultValue() 303 if(xStmt.is()) in addDefaultValue() 315 if(xStmt.is()) in beginTransAction() 331 if(xStmt.is()) in endTransAction() [all …]
|
H A D | BUser.cxx | 79 ::comphelper::disposeComponent(xStmt); in refreshGroups() 138 if(xStmt.is()) in getAnyTablePrivileges() 174 ::comphelper::disposeComponent(xStmt); in getAnyTablePrivileges() 210 if(xStmt.is()) in grantPrivileges() 211 xStmt->execute(sGrant); in grantPrivileges() 212 ::comphelper::disposeComponent(xStmt); in grantPrivileges() 236 if(xStmt.is()) in revokePrivileges() 237 xStmt->execute(sGrant); in revokePrivileges() 238 ::comphelper::disposeComponent(xStmt); in revokePrivileges() 274 if(xStmt.is()) in changePassword() [all …]
|
H A D | BUsers.cxx | 79 if(xStmt.is()) in appendObject() 80 xStmt->execute(aSql); in appendObject() 81 ::comphelper::disposeComponent(xStmt); in appendObject() 94 Reference< XStatement > xStmt = m_pConnection->createStatement(); in dropObject() local 95 if(xStmt.is()) in dropObject() 97 Reference<XResultSet> xRes = xStmt->executeQuery(sUsers); in dropObject() 104 ::comphelper::disposeComponent(xStmt); in dropObject() 108 ::comphelper::disposeComponent(xStmt); in dropObject() 118 if(xStmt.is()) in dropObject() 119 xStmt->execute(aSql); in dropObject() [all …]
|
H A D | BViews.cxx | 75 Reference< XStatement > xStmt = xConnection->createStatement( ); in createObject() local 76 Reference< XResultSet > xResult = xStmt->executeQuery(sStmt); in createObject() 94 ::comphelper::disposeComponent(xStmt); in createObject() 134 Reference< XStatement > xStmt = pConnection->createStatement( ); in dropObject() local 146 xStmt->execute(aSql); in dropObject() 147 ::comphelper::disposeComponent(xStmt); in dropObject() 177 Reference< XStatement > xStmt = pConnection->createStatement( ); in createView() local 178 xStmt->execute(aSql); in createView() 179 ::comphelper::disposeComponent(xStmt); in createView()
|
H A D | BColumns.cxx | 74 … Reference< XStatement > xStmt = m_pTable->getMetaData()->getConnection()->createStatement( ); in createObject() local 82 Reference< XResultSet > xResult2 = xStmt->executeQuery(sQuery); in createObject() 142 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement(); in appendObject() local 143 xStmt->execute(aSql); in appendObject() 144 ::comphelper::disposeComponent(xStmt); in appendObject() 172 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in dropObject() local 173 xStmt->execute(aSql); in dropObject() 174 ::comphelper::disposeComponent(xStmt); in dropObject()
|
H A D | BGroups.cxx | 68 Reference< XStatement > xStmt = m_pConnection->createStatement( ); in appendObject() local 69 xStmt->execute(aSql); in appendObject() 70 ::comphelper::disposeComponent(xStmt); in appendObject() 83 Reference< XStatement > xStmt = m_pConnection->createStatement( ); in dropObject() local 84 xStmt->execute(aSql); in dropObject() 85 ::comphelper::disposeComponent(xStmt); in dropObject()
|
H A D | BTables.cxx | 115 Reference< XStatement > xStmt = pConnection->createStatement( ); in setComments() local 126 xStmt->execute(aSql); in setComments() 151 xStmt->execute(aSql); in setComments() 152 ::comphelper::disposeComponent(xStmt); in setComments() 156 ::comphelper::disposeComponent(xStmt); in setComments() 167 Reference< XStatement > xStmt = pConnection->createStatement( ); in dropObject() local 186 xStmt->execute(aSql); in dropObject() 187 ::comphelper::disposeComponent(xStmt); in dropObject() 349 Reference< XStatement > xStmt = pConnection->createStatement( ); in createTable() local 350 xStmt->execute(aSql); in createTable() [all …]
|
H A D | BIndexes.cxx | 152 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in appendObject() local 153 xStmt->execute(aSql); in appendObject() 154 ::comphelper::disposeComponent(xStmt); in appendObject() 181 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in dropObject() local 182 xStmt->execute(aSql); in dropObject() 183 ::comphelper::disposeComponent(xStmt); in dropObject()
|
H A D | BCatalog.cxx | 67 Reference< XStatement > xStmt = m_pConnection->createStatement( ); in fillVector() local 68 OSL_ENSURE(xStmt.is(),"OAdabasCatalog::fillVector: Could not create a statement!"); in fillVector() 69 Reference< XResultSet > xResult = xStmt->executeQuery(_sQuery); in fillVector() 72 ::comphelper::disposeComponent(xStmt); in fillVector()
|
/trunk/main/dbaccess/source/ui/dlg/ |
H A D | AdabasStat.cxx | 115 Reference<XStatement> xStmt; in OAdabasStatistics() local 136 xStmt = m_xConnection->createStatement(); in OAdabasStatistics() 137 xRes = xStmt->executeQuery(aStmt); in OAdabasStatistics() 169 ::comphelper::disposeComponent(xStmt); in OAdabasStatistics() 189 xStmt = m_xConnection->createStatement(); in OAdabasStatistics() 190 xRes = xStmt->executeQuery(aStmt); in OAdabasStatistics() 213 ::comphelper::disposeComponent(xStmt); in OAdabasStatistics() 232 xStmt = m_xConnection->createStatement(); in OAdabasStatistics() 233 xRes = xStmt->executeQuery(aStmt); in OAdabasStatistics() 245 xRes = xStmt->executeQuery(aStmt); in OAdabasStatistics() [all …]
|
/trunk/main/connectivity/source/drivers/hsqldb/ |
H A D | HUser.cxx | 245 Reference<XStatement> xStmt = m_xConnection->createStatement(); in grantPrivileges() local 246 if(xStmt.is()) in grantPrivileges() 247 xStmt->execute(sGrant); in grantPrivileges() 248 ::comphelper::disposeComponent(xStmt); in grantPrivileges() 276 if(xStmt.is()) in revokePrivileges() 277 xStmt->execute(sGrant); in revokePrivileges() 278 ::comphelper::disposeComponent(xStmt); in revokePrivileges() 295 Reference<XStatement> xStmt = m_xConnection->createStatement(); in changePassword() local 296 if ( xStmt.is() ) in changePassword() 298 xStmt->execute(sAlterPwd); in changePassword() [all …]
|
H A D | HUsers.cxx | 93 Reference< XStatement > xStmt = m_xConnection->createStatement( ); in appendObject() local 94 if(xStmt.is()) in appendObject() 95 xStmt->execute(aSql); in appendObject() 96 ::comphelper::disposeComponent(xStmt); in appendObject() 109 Reference< XStatement > xStmt = m_xConnection->createStatement( ); in dropObject() local 110 if(xStmt.is()) in dropObject() 111 xStmt->execute(aSql); in dropObject() 112 ::comphelper::disposeComponent(xStmt); in dropObject()
|
H A D | HTables.cxx | 150 Reference< XStatement > xStmt = xConnection->createStatement( ); in dropObject() local 151 if ( xStmt.is() ) in dropObject() 153 xStmt->execute(aSql); in dropObject() 154 ::comphelper::disposeComponent(xStmt); in dropObject() 171 Reference< XStatement > xStmt = xConnection->createStatement( ); in createTable() local 172 if ( xStmt.is() ) in createTable() 174 xStmt->execute(aSql); in createTable() 175 ::comphelper::disposeComponent(xStmt); in createTable()
|
H A D | HViews.cxx | 123 Reference< XStatement > xStmt = xConnection->createStatement( ); in dropObject() local 124 xStmt->execute(aSql); in dropObject() 125 ::comphelper::disposeComponent(xStmt); in dropObject() 150 Reference< XStatement > xStmt = xConnection->createStatement( ); in createView() local 151 if ( xStmt.is() ) in createView() 153 xStmt->execute(aSql); in createView() 154 ::comphelper::disposeComponent(xStmt); in createView()
|
H A D | HDriver.cxx | 542 Reference<XStatement> xStmt = _xConnection->createStatement(); in shutdownConnection() local 543 if ( xStmt.is() ) in shutdownConnection() 545 …Reference<XResultSet> xRes(xStmt->executeQuery(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SELECT… in shutdownConnection() 550 xStmt->execute(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SHUTDOWN"))); in shutdownConnection() 652 Reference< XStatement> xStmt = xConnection->createStatement(); in preCommit() local 653 OSL_ENSURE( xStmt.is(), "ODriverDelegator::preCommit: no statement!" ); in preCommit() 654 if ( xStmt.is() ) in preCommit() 655 xStmt->execute( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "SET WRITE_DELAY 0" ) ) ); in preCommit() 662 if ( xStmt.is() ) in preCommit() 663 xStmt->execute( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "SET WRITE_DELAY 60" ) ) ); in preCommit()
|
/trunk/main/connectivity/source/drivers/mysql/ |
H A D | YUser.cxx | 244 Reference<XStatement> xStmt = m_xConnection->createStatement(); in grantPrivileges() local 245 if(xStmt.is()) in grantPrivileges() 246 xStmt->execute(sGrant); in grantPrivileges() 247 ::comphelper::disposeComponent(xStmt); in grantPrivileges() 275 if(xStmt.is()) in revokePrivileges() 276 xStmt->execute(sGrant); in revokePrivileges() 277 ::comphelper::disposeComponent(xStmt); in revokePrivileges() 294 Reference<XStatement> xStmt = m_xConnection->createStatement(); in changePassword() local 295 if ( xStmt.is() ) in changePassword() 297 xStmt->execute(sAlterPwd); in changePassword() [all …]
|
H A D | YUsers.cxx | 93 Reference< XStatement > xStmt = m_xConnection->createStatement( ); in appendObject() local 94 if(xStmt.is()) in appendObject() 95 xStmt->execute(aSql); in appendObject() 96 ::comphelper::disposeComponent(xStmt); in appendObject() 108 Reference< XStatement > xStmt = m_xConnection->createStatement( ); in dropObject() local 109 if(xStmt.is()) in dropObject() 110 xStmt->execute(aSql); in dropObject() 111 ::comphelper::disposeComponent(xStmt); in dropObject()
|
H A D | YViews.cxx | 117 Reference< XStatement > xStmt = xConnection->createStatement( ); in dropObject() local 118 xStmt->execute(aSql); in dropObject() 119 ::comphelper::disposeComponent(xStmt); in dropObject() 144 Reference< XStatement > xStmt = xConnection->createStatement( ); in createView() local 145 if ( xStmt.is() ) in createView() 147 xStmt->execute(aSql); in createView() 148 ::comphelper::disposeComponent(xStmt); in createView()
|
H A D | YTables.cxx | 167 Reference< XStatement > xStmt = xConnection->createStatement( ); in dropObject() local 168 if ( xStmt.is() ) in dropObject() 170 xStmt->execute(aSql); in dropObject() 171 ::comphelper::disposeComponent(xStmt); in dropObject() 204 Reference< XStatement > xStmt = xConnection->createStatement( ); in createTable() local 205 if ( xStmt.is() ) in createTable() 207 xStmt->execute(aSql); in createTable() 208 ::comphelper::disposeComponent(xStmt); in createTable()
|
/trunk/main/connectivity/source/commontools/ |
H A D | TColumnsHelper.cxx | 187 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in appendObject() local 188 if ( xStmt.is() ) in appendObject() 190 xStmt->execute(aSql); in appendObject() 191 ::comphelper::disposeComponent(xStmt); in appendObject() 210 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in dropObject() local 211 if ( xStmt.is() ) in dropObject() 213 xStmt->execute(aSql); in dropObject() 214 ::comphelper::disposeComponent(xStmt); in dropObject()
|
H A D | TIndexes.cxx | 206 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in appendObject() local 207 if ( xStmt.is() ) in appendObject() 210 xStmt->execute(sSql); in appendObject() 211 ::comphelper::disposeComponent(xStmt); in appendObject() 246 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in dropObject() local 247 if ( xStmt.is() ) in dropObject() 249 xStmt->execute(aSql); in dropObject() 250 ::comphelper::disposeComponent(xStmt); in dropObject()
|
H A D | TKeys.cxx | 217 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in appendObject() local 218 xStmt->execute(aSql.makeStringAndClear()); in appendObject() 305 Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( ); in dropObject() local 306 if ( xStmt.is() ) in dropObject() 308 xStmt->execute(aSql.makeStringAndClear()); in dropObject() 309 ::comphelper::disposeComponent(xStmt); in dropObject()
|
/trunk/main/dbaccess/source/core/api/ |
H A D | viewcontainer.cxx | 172 ::utl::SharedUNOComponent< XStatement > xStmt( xCon->createStatement() ); in appendObject() 173 if ( xStmt.is() ) in appendObject() 174 xStmt->execute( aSQL.makeStringAndClear() ); in appendObject() 212 Reference< XStatement > xStmt = xCon->createStatement( ); in dropObject() local 213 if(xStmt.is()) in dropObject() 214 xStmt->execute(aSql); in dropObject() 215 ::comphelper::disposeComponent(xStmt); in dropObject()
|
H A D | tablecontainer.cxx | 327 Reference< XStatement > xStmt = xCon->createStatement( ); in appendObject() local 328 if ( xStmt.is() ) in appendObject() 329 xStmt->execute(aSql); in appendObject() 330 ::comphelper::disposeComponent(xStmt); in appendObject() 428 Reference< XStatement > xStmt = xCon->createStatement( ); in dropObject() local 429 if(xStmt.is()) in dropObject() 430 xStmt->execute(aSql); in dropObject() 431 ::comphelper::disposeComponent(xStmt); in dropObject()
|
/trunk/main/connectivity/source/drivers/flat/ |
H A D | EConnection.cxx | 155 Reference< XStatement > xStmt = pStmt; in createStatement() local 157 return xStmt; in createStatement() 167 Reference< XPreparedStatement > xStmt = pStmt; in prepareStatement() local 171 return xStmt; in prepareStatement()
|