Package org.jooq.meta

Interface CatalogVersionProvider


public interface CatalogVersionProvider
An SPI that can be used to provide a catalog version to the jOOQ code generator.

If between subsequent meta data accesses, at least one SchemaDefinition's version changes, that schema's CatalogDefinition's version must change as well. In other words, it can be safely assumed that when between two subsequent schema meta data accesses, the CatalogDefinition's version stays the same, all SchemaDefinition's versions have stayed the same as well.

A CatalogDefinition is said to be unversioned if version(CatalogDefinition) returns null.

Author:
Lukas Eder
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get a custom schema version.