Java Reference
In-Depth Information
Figure 8-25.
Applying a script on the default database
When you defined the database connection to connect to the H2 database, it did not automatically
create the schema, in other words, the tables and column definitions. To create the schema, Play 2
generates a SQL script and demands to run it: “Apply this script now.” Once you run this script by
and the new book, as illustrated in Figure
8-26
.
Figure 8-26.
Adding a book