Uses of Enum Class
com.pyranid.DatabaseType
-
Uses of DatabaseType in com.pyranid
Subclasses with type arguments of type DatabaseType in com.pyranidModifier and TypeClassDescriptionenumIdentifies different types of databases, which allows for special platform-specific handling.Methods in com.pyranid that return DatabaseTypeModifier and TypeMethodDescriptionstatic @NonNull DatabaseTypeDatabaseType.fromConnection(@NonNull Connection connection) Determines the type of database represented by the givenconnection.static @NonNull DatabaseTypeDatabaseType.fromDataSource(@NonNull DataSource dataSource) Determines the type of database to which the givendataSourceconnects.@NonNull DatabaseTypeDatabase.getDatabaseType()Gets the database type for this database.@NonNull DatabaseTypeStatementContext.getDatabaseType()static DatabaseTypeReturns the enum constant of this class with the specified name.static DatabaseType[]DatabaseType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.pyranid with parameters of type DatabaseTypeModifier and TypeMethodDescription@NonNull Database.BuilderDatabase.Builder.databaseType(@Nullable DatabaseType databaseType) Overrides automatic database type detection.