Enum Class JdbcVersionSupportHolder

java.lang.Object
java.lang.Enum<JdbcVersionSupportHolder>
org.firebirdsql.jdbc.JdbcVersionSupportHolder
All Implemented Interfaces:
Serializable, Comparable<JdbcVersionSupportHolder>, Constable

public enum JdbcVersionSupportHolder extends Enum<JdbcVersionSupportHolder>
Holder for the instance of JdbcVersionSupport to use.

This implementation is for JDBC 4.2 (and 4.3 for now).

Since:
3.0
Author:
Mark Rotteveel
  • Enum Constant Details

  • Method Details

    • values

      public static JdbcVersionSupportHolder[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JdbcVersionSupportHolder valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getJdbcVersionSupport

      public JdbcVersionSupport getJdbcVersionSupport()