- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
public class SchemaCreator
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware
This tool is responsible for creating the NewsReader portlet database schema (and dropping
it first, if necessary). It leverages the org.hibernate:hibernate-tools library, but integrates
with NewsReader's Spring-managed ORM strategy and NewsReader's configuration features (esp.
encrypted properties). It is invokable from the command line with '$ java', but designed to be
integrated with build tools like Gradle.