Connecting the development server to a database
PolicyCenter running on the QuickStart development server can connect to the same kinds of databases as any of the other Guidewire-supported application servers. However, for performance reasons, Guidewire recommends that you use the bundled QuickStart database. Guidewire optimizes this database for fast development use. It can run in either of the following modes:
Mode |
Description |
|---|---|
file mode |
The database persists data to the hard drive (the local file system), which means that the data can live from one server start to another. This is the Guidewire-recommended default configuration. |
memory mode |
The database does not persist data to the hard drive and it effectively drops the database each time you restart the server. Guidewire does not recommend this configuration. |
You set configuration parameters for the QuickStart database associated with the development server in database-config.xml. For example:
<!-- H2 (meant for development/quickstart use only!) -->
<database
name="PolicyCenterDatabase"
dbtype="h2">
<dbcp-connection-pool
jdbc-url="jdbc:h2:file:/tmp/guidewire/pc"/>
<upgrade
defer-create-nonessential-indexes="false"/>
</database>
