Class SqlTypesSupport

java.lang.Object
com.google.gson.internal.sql.SqlTypesSupport

public final class SqlTypesSupport extends Object
Encapsulates access to java.sql types, to allow Gson to work without the java.sql module being present. No ClassNotFoundExceptions will be thrown in case the java.sql module is not present.

If SUPPORTS_SQL_TYPES is true, all other constants of this class will be non-null. However, if it is false all other constants will be null and there will be no support for java.sql types.

  • Field Details

  • Constructor Details

    • SqlTypesSupport

      private SqlTypesSupport()