Skip to main content

sql-expanders

net.democritus:sql-expanders::5.2.0

The SQL expandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. can be used to generate initial database scripts for an applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution.. This includes both the initial set of the database table structures and scripts to provision initial data.

Overview​

When creating an NS applicationNS Application (NSApplication). A pre-built software stack that provides common enterprise application functionality such as CRUD, search, authentication, and business process modeling out of the box., it is often cumbersome to set up a new database for it to work with. The SQL ExpandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. aim to assist with this by generating scripts that can provision a complete database structure that matches the technical requirements of an NS applicationNS Application (NSApplication). A pre-built software stack that provides common enterprise application functionality such as CRUD, search, authentication, and business process modeling out of the box..

There is support for several database technologies and their respective SQL dialects, as well as most persistence related options available for the JEE applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. stack. The supported databases are listed below:

Artifacts​

The following artifactsArtifactA build or deployment result, such as a Docker container image or Java archive, produced by a software project. are relevant for development:

  • net.democritus:sql-expanders@5.2.0: The expansion resources which can be used to expand the SQL scripts.
  • net.democritus:sql-expanders-data@5.2.0: A library containing the necessary infrastructure to read and write the XML-based format to represent initial data for NS applications.