Package org.jooq.meta

Interface SchemaVersionProvider


public interface SchemaVersionProvider
An SPI that can be used to provide a schema 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 SchemaDefinition is said to be unversioned if version(SchemaDefinition) returns null.

Author:
Lukas Eder
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get a custom schema version.