Creating the application database


To create a new application with JAG you will first need to create a database for the application. The tables in this database will determine the entities that you can create: unfortunately this isn't always the best way to design a database, so this point is worth bearing in mind.

TIP: It makes sense to create foreign key definitions in your database tables if you intend to generate relations.

JAG does not provide any tools for creating a database; this is best done with your database's administration tools, or with a generic database management application such as DBVisualiser, SquirrelSQL, or Toad.

Once the database has been created, you can specify the database connection by filling in the 'JDBC url' field in the 'Datasource' configuration page (see following step). JAG currently supports Oracle, MySQL and PostgreSQL databases.

Next step: Application configuration
<<Start page