Module org.jooq

Class MetaDataUnavailableException

All Implemented Interfaces:
Serializable

public class MetaDataUnavailableException extends DataAccessException
A feature needs to be emulated for a specific SQLDialect, but meta data is unavailable, so the emulation won't work.

This exception helps users better understand why an emulation can't be made to work when meta data is unavailable to jOOQ internals. For historic reasons, this exception isn't thrown in all such cases in order not to break compatibility with cases where SQLDialect.DEFAULT SQL is being generated, or dummy meta data is being produced (e.g. an empty list of Field, when calling Fields.fields() on a plain SQL table).

Author:
Lukas Eder
See Also:
  • Constructor Details

    • MetaDataUnavailableException

      public MetaDataUnavailableException(String message)
      Constructor for MetaDataUnavailableException.
      Parameters:
      message - the detail message
    • MetaDataUnavailableException

      public MetaDataUnavailableException(String message, Throwable cause)
      Constructor for MetaDataUnavailableException.
      Parameters:
      message - the detail message
      cause - the cause