# Package-level declarations

## Types

DatabaseInitializer
Link copied to clipboard
open class DatabaseInitializer(applicationContext: ApplicationContext, excludedPackages: List<String>) : ApplicationRunner, Ordered

Base class responsible for the automatic creation of a database schema, using the results of discoverExposedTables.

ExposedAotContribution
Link copied to clipboard
class ExposedAotContribution : BeanFactoryInitializationAotProcessor

Class responsible for contributing, at compile time, the contracts needed for any reflection and resource loading at runtime. Registering these runtime hints for Exposed classes and resources ahead of time is required to run a Spring Boot application as a GraalVM native image.

## Functions

discoverExposedTables
Link copied to clipboard
fun discoverExposedTables(applicationContext: ApplicationContext, excludedPackages: List<String>): List<Table>

Returns a list of identified tables that extend Exposed's base Table class, without searching any packages in excludedPackages.