SchemaGenerator¶
-
public class
SchemaGenerator
implements InitializingBean¶ The schema generator class is responsible for generating the table schema for entities and for running entities migrations upon start. Schema for all entity classes has to be generated, otherwise issues might arise in foreign key generation for example. This code runs in the generated entities bundle.