The database initialization step is not absolutely necessary. For instance, in the HSQL-based examples early in the book, we configure Seam to automatically create table schema based on the entity bean annotations (see last section in this chapter). We then place an import.sql file in the EJB3 JAR file. The SQL INSERT statements in the import.sql file are automatically executed when the application is deployed.
Safari Bookshelf - 013241273X - JBoss Seam: Simplicity and Power Beyond Java EE 5.0
No comments:
Post a Comment