BobSliegh is a Java based utility which can examine a user specified database connection and produce an in-memory model of the database schema. This model can then be transformed into Java Source files e.g. database acccess objects, MyBatis SQL map files, Hibernate classes etc. The utility uses the powerful FreeMarker template engine which ensures the user has totally control over the output of the generated source files. The configuration file also borrows concepts from ANT such as specifying the project "basedir" and user defined properties.
...The action is controlled by the attributes within.
Actions can have any purpose. Templating is just an action by itself. The template controls loading of data and storing to a file by itself. So it runs indempentently from a java development environment just from a shell call (exectutable)
The website offers several examples how it works.
These are:
- Simple examples demonstrating looping within a page or create several pages based on the data of a simple Excelsheet.
- Website/document creation by the web-site itself
- Creating sql, model, model classes from a model sheet and load data with it
- Extend actions with a java code line counter