# Uses of Enum Class
org.springframework.batch.support.DatabaseType

Packages that use DatabaseType
Package
Description
org.springframework.batch.support
Infrastructure implementations of support concerns.

- ## Uses of DatabaseType in org.springframework.batch.support

  Methods in org.springframework.batch.support that return DatabaseType
  Modifier and Type
  Method
  Description
  `static DatabaseType`
  DatabaseType.`fromMetaData(DataSource dataSource)`
  Convenience method that pulls a database product name from the DataSource's metadata.
  `static DatabaseType`
  DatabaseType.`fromProductName(String productName)`
  Static method to obtain a DatabaseType from the provided product name.
  `static DatabaseType`
  DatabaseType.`valueOf(String name)`
  Returns 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.