Package jetbrains.buildServer.serverSide.db
-
Interface Summary Interface Description DatabaseAccessChecker DatabaseFixture DataSourceAction DBAction<T> Action with database functions.DBAction2 Action with 2 connections to database functions.DBActionNoResults Action with database functions.DBFunctions.StatementTuner DBFunctionsProvider A simple interface that defines withDB methods.DBInternalUtils.RawOperation<R> GuidGenerator Generates GUIDs.IdSequence<D> Sequience of values for one identifier.IdSequences<D> Provides with new values for different types of identifiers.JdbcDriverDownloader.DriverFilePostProcessor Post-processor for JDBC driver files which runs once a file has been downloaded.JdbcDriverDownloader.ProgressListener Download progress listener.JdbcDriverDownloader.UrlConnectionFactory The URL connection factory used byJdbcDriverDownloader
.JdbcDriverDownloader.UrlConnectionWrapper A wrapper around an open connection to a (local or remote) URL.NumericIdSequence<N extends Comparable<N>> Sequience of values for one identifier.NumericIdSequences Provides with new values for home-made autoincrementing identifiers.SessionInfo Describes some Heartbeat sessionSQLDialect Represents a SQL dialect.SQLExceptionConvertor Converts aSQLException
to aDBException
.SQLRunnerEx TestDBAccess -
Class Summary Class Description AbstractDatabaseFixture Base class for database fixtures.BaseDatabaseFunctionsTestCase Please, don't create new classes inheriting this one - this class is deprecated.BaseDatabaseSchemaTestCase Tests that modifies database structure.BaseDatabaseTestCase For tests that needs a database (empty or with tables), but don't need started BuildServer.BaseDatabaseTestCase.SQLWork CachingNumericIdSequences CollationMismatchProblem A found problem with collation in the database.CollationVerifier Verifies collation problems in the database.CombainedIdSequences<D> Combains sequences from different sources.ConnectionUtil An internal static class for small utility methods manipulating with JDBC connections.DatabasePropertiesFile Represents our 'database.properties' file and manipulations with it.DatabaseSettings Contains JDBC settings to be used for new connections creation: driver name, connection url and connection properties.DatabaseTypeUtil Helper functions for working with DB types.DatabaseUtil This class provides utility methods to perform DDL operations in database-agnostic way.DBBatchSaver<T> Saves a batch of rows into a database table.DBConnectionInit DBFacade DBFunctions Database functions.DBFunctions.StatementAndQuery DBInternalUtils Static functions for internal usages.DBSchema Database schema creator.DbTestUtils DefaultUrlConnectionFactory The defaultJdbcDriverDownloader.UrlConnectionFactory
, which usesjava.net.*
API.Heartbeat Incapsulates functionality for preventing connecting several servers to one data dir/database.Heartbeat.AppInfo Heartbeat.SessionRecord HeartbeatBeforeVersion10Table HeartbeatTable Before 10.0 db_heartbeat table didn't contain 'uuid' and 'app_type' columns, they are added in converter during upgrade to 10.0 But we are taking db lock before upgrade is run, so we have to assume that this table can be in two state: with or without uuid/app_type columnsHeartbeatVersion10Table HeartbeatVersion20182Table HeartbeatVersion20202Table HsqlDb1Fixture HsqlDbFixture HSQLDBSpecific IntegerIdSequence InternalDBUtil JdbcConnectionString A simple utility class that builds a JDBC connection string.JdbcDriverDownloader JDBC driver download manager.JdbcDriverDownloadProgressListener The default implementation ofJdbcDriverDownloader.ProgressListener
.JdbcDriversProxy LongEstimate Along
estimate.MajorMinorVersion Holds major and minor components of version.MariaDbFixture MSSQLDbJtdsFixture MSSQLDbNativeFixture MySQLDbFixture OracleDbFixture PersistableIntIdSequence PersistableLongIdSequence Sequence implementation which is safety for using in multi-node setup and uses database for synchronizationPrefixedIdSequence PseudoRandomGuidGenerator Generates pseudo-random UUIDs version 4.QueryAndParams Query and Params.QueryWithMetaData A SQL query with optional metadata.SQLDialectsFactory SQLExceptionConvertorBase Converts aSQLException
to aDBException
.SQLExecutionGuard SQLRunnerProxy SyncPoint Rendezvous between two or several threads.TeamCityDatabaseManager Database accessor.TeamCityDataSource TestDB Contains a static DBFacade for testing.TransformedQuery Query, transformed from the handy form to a form appropriate to pass to JDBC drivers.UnicodeString A simple wrapper forString
that marks the stringa as a Unicode string.VersionSpecificHeartbeatTable -
Enum Summary Enum Description DatabasePropertiesFile.Origin The origin of the "database.properties" file.DatabaseType List of detectable database typesDBColumnKind Kind of a column (in a database table).DBNull Typed null object, designed for passing it to jdbc functions that apply SQL statement parameters.Heartbeat.AppType Type of the application working with TeamCity database.Heartbeat.Status QueryKind Kind of a SQL query. -
Exception Summary Exception Description ConnectionPoolExhaustedException CouldNotConnectToDatabaseException Thrown when TeamCity could not connect to DBMS or DBMS could not open files.DatabaseAccessDeniedException Access to one or several database objects is denied.DatabaseDeadlockException Deadlock.DatabaseDriverMissingException DatabaseIsNotReachableException Thrown when TeamCity could not connect to DBMS or DBMS could not open files.DatabaseIsOutOfSpaceException Thrown when could not create or extend a stored object because no free space or tablespace quota is exhausted.DatabasePropertiesFile.DatabasePropertiesFileException DatabaseVersionMismatchException DataPartsInconsistentException DatumIsTooLargeException Thrown when the data value could not fit into a column.DBDisconnectedException Thrown when TeamCity could not connect to DBMS or DBMS could not open files.DBDuplicatedRowException Thrown when unique key violation occured.DBException DBStringValueIsTooLongException Thrown when attempted to bind/pass a string that could not fit into the corresponding field.HSQLDBSpecific.HsqlVersionException IncorrectConnectionSettingsException JdbcDriverIsTooOldException JdbcIncompatibilityException LockWaitTimeoutException Thrown when database could not acquire lock in appropriate time.NativeDatabaseDriverIsNotAccessibleException Thrown when native database driver is not found.RetryException Thrown by a client code inside "runAndRetry", if the transaction is failed and should be tried again.SecondTeamCityInstanceException ShutdownException Created by IntelliJ IDEA.SQLMacroException SQLRunnerProxy.DeprecatedUsageException TooManyRetriesException Thrown when transaction could not been completed because of too manyRetryException
occurrences.UnexpectedDBException UnknownDatabaseTypeException UnsupportedSQLPhraseException Thrown when one attempted to use a SQL phrase that is not supported by the current RDBMS. -
Annotation Types Summary Annotation Type Description Tuple