8 Replies Latest reply on Apr 13, 2007 6:56 PM by Saeed Iqbal

    Simple question about sample apps with Seam

    Brian Smith Apprentice

      This is sort of a dumb question but

      The Booking and DVD apps both use Hypersonic DB as the datasource. These apps both bundle an import.sql file to set up the sample data to be used. Where in the configuration of the app does it tell Hypersonic to execute these scripts? Is it just the fact that the file is called "import.sql" and bundled in the EJB jar that triggers it or is there something I am missing that instructs Hypersonic/JBoss to execute these scripts when the app is deployed?

      I am trying to get to where to can develop my apps using the Embedded Hypersonic Database and the Embeddable EJB Container instead of having to rely on having a connection to a test Oracle Database and having to fire up JBoss.

      Thanks