Skip to main content

Source code revision

svn

summary: Adding support for initSQL. The glassfish-services.xml takes a property called "database.init.sql" whose value is the init sql file. The sql statements in this file are executed during the provisioning of derby database.
revision: 50013
author: sm157516
date: 2011-09-28 08:23:11 UTC (3 years)
message: Adding support for initSQL. The glassfish-services.xml takes a property called "database.init.sql" whose value is the init sql file. The sql statements in this file are executed during the provisioning of derby database.

Tests run : basic-db paas application with modified glsasfish-services.xml file. Verified that the table has been created and loaded with data.

Change Path Actions
M trunk/main/appserver/paas/plugins/javadb-plugin/pom.xml
M trunk/main/appserver/paas/plugins/javadb-plugin/src/main/java/org/glassfish/paas/javadbplugin/DerbyProvisioner.java
M trunk/main/appserver/paas/plugins/javadb-plugin/src/main/java/org/glassfish/paas/javadbplugin/cli/CreateDerbyService.java
A trunk/main/appserver/tests/paas/basic-db/initsql.sql
M trunk/main/appserver/tests/paas/basic-db/src/main/webapp/WEB-INF/glassfish-services.xml
 
 
Close
loading
Please Confirm
Close