Uses of Class
jetbrains.buildServer.serverSide.db.DBException
-
-
Uses of DBException in jetbrains.buildServer.maintenance.exceptions
Constructors in jetbrains.buildServer.maintenance.exceptions with parameters of type DBException Constructor Description DBExceptionAdapter(DBException dbe) -
Uses of DBException in jetbrains.buildServer.serverSide.db
Subclasses of DBException in jetbrains.buildServer.serverSide.db Modifier and Type Class Description classConnectionPoolExhaustedExceptionclassCouldNotConnectToDatabaseExceptionThrown when TeamCity could not connect to DBMS or DBMS could not open files.classDatabaseAccessDeniedExceptionAccess to one or several database objects is denied.classDatabaseDeadlockExceptionDeadlock.classDatabaseDriverMissingExceptionclassDatabaseIsNotReachableExceptionThrown when TeamCity could not connect to DBMS or DBMS could not open files.classDatabaseIsOutOfSpaceExceptionThrown when could not create or extend a stored object because no free space or tablespace quota is exhausted.classDatumIsTooLargeExceptionThrown when the data value could not fit into a column.classDBDisconnectedExceptionThrown when TeamCity could not connect to DBMS or DBMS could not open files.classDBDuplicatedRowExceptionThrown when unique key violation occured.classDBStringValueIsTooLongExceptionThrown when attempted to bind/pass a string that could not fit into the corresponding field.classIncorrectConnectionSettingsExceptionclassJdbcDriverIsTooOldExceptionclassJdbcIncompatibilityExceptionclassLockWaitTimeoutExceptionThrown when database could not acquire lock in appropriate time.classNativeDatabaseDriverIsNotAccessibleExceptionThrown when native database driver is not found.classRetryExceptionThrown by a client code inside "runAndRetry", if the transaction is failed and should be tried again.classSecondTeamCityInstanceExceptionclassShutdownExceptionCreated by IntelliJ IDEA.classTooManyRetriesExceptionThrown when transaction could not been completed because of too manyRetryExceptionoccurrences.classUnexpectedDBExceptionclassUnknownDatabaseTypeExceptionclassUnsupportedSQLPhraseExceptionThrown when one attempted to use a SQL phrase that is not supported by the current RDBMS.Methods in jetbrains.buildServer.serverSide.db that return DBException Modifier and Type Method Description DBExceptionDBFunctions. convertSQLException(String operation, SQLException sqle)DBExceptionDBFunctions. convertSQLException(String operation, SQLException sqle, String query)DBExceptionSQLExceptionConvertor. convertSQLException(String operation, SQLException sqle)DBExceptionSQLExceptionConvertor. convertSQLException(String operation, SQLException sqle, String query)DBExceptionSQLExceptionConvertorBase. convertSQLException(String operation, SQLException sqle)ConvertsSQLExceptiontoDBException.DBExceptionSQLExceptionConvertorBase. convertSQLException(String operation, SQLException sqle, String query)ConvertsSQLExceptiontoDBException.Methods in jetbrains.buildServer.serverSide.db that throw DBException Modifier and Type Method Description booleanTeamCityDatabaseManager. activateHeartbeat(String nodeId, Set<NodeResponsibility> supportedResponsibilities, boolean fixedResponsibilities, ServerPaths serverPaths, Heartbeat.AppType appType, String accessToken, String uuid, Date serverStartupTimestamp)Captures the TeamCity database lockvoidDBFunctions. applyParameters(PreparedStatement stmt, Object[] params)static voidDatabaseUtil. assignTmpInts(DBFunctions dbf, String tableName, Collection<Integer> values)Assigns the given set of integer values to the specified temporary table.static voidDatabaseUtil. assignTmpLongs(DBFunctions dbf, String tableName, Collection<Long> values)Assigns the given set of long integer values to the specified temporary table.static voidDatabaseUtil. assignTmpStrings(DBFunctions dbf, String tableName, Collection<String> values)Assigns the given set of strings to the specified temporary table.static voidDatabaseUtil. assignUnicodeTmpStrings(DBFunctions dbf, String tableName, Collection<UnicodeString> values)Assigns the given set of objects to the specified temporary table.booleanDBFunctions. checkQueryReturnsRows(String query, Object... params)Executes the given query and checks whether it returns at least one row.booleanDBFunctions. checkQueryReturnsRows(String query, Map<String,Object> params)Executes the given query and checks whether it returns at least one row.static voidDatabaseUtil. cleanTmpTable(DBFunctions dbf, String tableName)Cleans the specified temporary table.voidTeamCityDatabaseManager. connect(boolean pooling)Connects do the database.static voidDBSchema. createInitialData(DBFunctions dbf, GuidGenerator guidGenerator)voidDBFunctions. executeDdls(String... commands)Executes one or several DDL commands.protected voidBaseDatabaseTestCase. executeScript(String script)Map<String,Integer>DBFunctions. getTableColumnWidths(String tableName)Retrieves column widths for the specified table.static Collection<Integer>DatabaseUtil. getTmpInts(DBFunctions dbf, String tableName)Retrieves integer values from the first column of the specified temporary table.static Collection<Long>DatabaseUtil. getTmpLongs(DBFunctions dbf, String tableName)Retrieves long integer values from the first column of the specified temporary table.static Collection<String>DatabaseUtil. getTmpStrings(DBFunctions dbf, String tableName)Retrieves strings from the first column of the specified temporary table.voidDatabaseSettings. initializeFromProperties(Properties properties)booleanDBFunctions. queryForSingleBoolean(String query, boolean defaultValue, Object... params)Performs a "select" query and expects one row with one boolean or integer column.intDBFunctions. queryForSingleInt(String query, int defaultValue, Object... params)Performs a "select" query and expects one row with one integer column.longDBFunctions. queryForSingleLong(String query, long defaultValue, Object... params)Performs a "select" query and expects one row with one long integer column.StringDBFunctions. queryForSingleString(String query, String defaultValue, Object... params)Performs a "select" query and expects one row with one column.StringDBFunctions. queryForSingleString(String query, String defaultValue, Map<String,Object> params)Performs a "select" query and expects one row with one column.TimestampDBFunctions. queryForSingleTimestamp(String query, Timestamp defaultValue, Object... params)Performs a "select" query and expects one row with one timestamp column.Pair<Long,Long>DBFunctions. queryForTwoLongsSingleRecord(String query, Object... params)Performs a "select" query and expects one row with two long integer columns.<T> TDBFunctions. queryForValue(Class<T> clazz, String query, Object... params)Performs a "select" query and expects one row with one column.<T> TDBFunctions. queryForValue(Class<T> clazz, String query, Map<String,Object> params)Performs a "select" query and expects one row with one column.TDBAction. run(DBFunctions dbf)voidDBAction2. run(DBFunctions dbf1, DBFunctions dbf2)voidDBActionNoResults. run(DBFunctions dbf)voidDBFacade. runDdls(String[] queries)Performs the specified DDL commands.voidDBFacade. runDmls(String[] queries)Performs the specified DML queries (insert, update, delete), and commits the transaction. -
Uses of DBException in jetbrains.buildServer.serverSide.db.HSQL
Subclasses of DBException in jetbrains.buildServer.serverSide.db.HSQL Modifier and Type Class Description classCouldNotConnectToHsqlExceptionThrows when TeamCity unable to open an HSQL database.classHsqlFileDoesntExistExceptionThrown when requested to open an existent HSQL database (and not create a new one), but the specified database file doesn't exists.classHsqlInternalErrorclassHSQLInternalInitializingErrorclassHsqlOutOfMemoryExceptionInternal HSQL memory problem.classHsqlOutOfMemoryOrCorruptedExceptionInternal HSQL memory problem, or HSQL DB is corrupted. -
Uses of DBException in jetbrains.buildServer.serverSide.db.jdbcLoader
Subclasses of DBException in jetbrains.buildServer.serverSide.db.jdbcLoader Modifier and Type Class Description classNoSuitableJdbcDriversRaises whe no suitable JDBC drivers found. -
Uses of DBException in jetbrains.buildServer.serverSide.db.MySQL
Subclasses of DBException in jetbrains.buildServer.serverSide.db.MySQL Modifier and Type Class Description classMySqlDriverIncompatibilityErrorA dumb incompatibility between MySQL server and MySQL jdbc driver.classMySqlIncorrectStringValueExceptionMySQL problem with non-BMP characters. -
Uses of DBException in jetbrains.buildServer.serverSide.db.queries
Methods in jetbrains.buildServer.serverSide.db.queries that throw DBException Modifier and Type Method Description StringDebugQuery. executeToString(DBFunctions dbf) -
Uses of DBException in jetbrains.buildServer.serverSide.impl.cleanup
Methods in jetbrains.buildServer.serverSide.impl.cleanup that throw DBException Modifier and Type Method Description Map<String,gnu.trove.list.TLongList>HistoryRetentionPolicy. getBuildsToClean(DBFunctions dbf, Collection<String> buildTypeIds, int packSize, ProjectManagerEx projectManager, jetbrains.buildServer.serverSide.impl.cleanup.CleanupStatistics statistics, CleanupDecisionListener decisionListener)Collection<Long>BuildsHistoryCleaner. performBuildsCleanup(List<Long> buildIds, KeepLevel keepLevel, KeepBuildData keepBuildData)Collection<Long>BuildsHistoryCleanerImpl. performBuildsCleanup(List<Long> buildIds, KeepLevel keepLevel, KeepBuildData keepBuildData)voidBuildsHistoryCleaner. performCleanup(Map<String,jetbrains.buildServer.serverSide.impl.cleanup.BaseKeepRule> buildTypeId2BaseRule, Map<String,Collection<KeepRule>> buildTypeId2CombinedRules, CleanupProcessStateEx cleanupState)voidBuildsHistoryCleanerImpl. performCleanup(Map<String,jetbrains.buildServer.serverSide.impl.cleanup.BaseKeepRule> buildTypeId2BaseRule, Map<String,Collection<KeepRule>> buildTypeId2CombinedRules, CleanupProcessStateEx cleanupState) -
Uses of DBException in jetbrains.buildServer.serverSide.versioning
Methods in jetbrains.buildServer.serverSide.versioning that throw DBException Modifier and Type Method Description static voidVersionManager. checkVersionsAndUpgradeSchemaIfNeeded(DBFunctions dbf, ServerPaths serverPaths)Upgrades an existance schema if needed.static voidVersionManager. ensureActualDatabase(TeamCityDatabaseManager tcdbm, ServerPaths serverPaths)static voidVersionManager. upgradeIt(ServerPaths serverPaths, DBFunctions dbf, IntInterval upgradeRange)WARNING! - we're assume that upgradeRange.B will be exactly the current software version number. -
Uses of DBException in jetbrains.buildServer.serverSide.versioning.converters
Methods in jetbrains.buildServer.serverSide.versioning.converters that throw DBException Modifier and Type Method Description voidBuildProblemIdInAllTablesConverter. convert(DBFunctions dbf, File teamCityDataDir)voidBuildProblemIdInAllTablesConverterPart2. convert(DBFunctions dbf, File teamCityDataDir)voidRemoveCommentIdentifiersFromAgentTableConverter. convertInternal(DBFunctions dbf, File teamCityDataDir)
-