>From  src/resources/hsqldb/create.db.hibernate.properties:
# these properties are used by the build script to create 
  | # a hypersonic database in the build/db directory that contains 
  | # the jbpm tables and a process deployed in there
  | 
  | hibernate.dialect=org.hibernate.dialect.HSQLDialect
  | hibernate.connection.driver_class=org.hsqldb.jdbcDriver
  | hibernate.connection.url=jdbc:hsqldb:hsql://localhost:1701
  | hibernate.connection.username=sa
  | hibernate.connection.password=
  | hibernate.show_sql=true
These settings will be used to create the jBPM tables and deploy the sample 
process.

>From build.xml, target build.service.archive:
  <target name="build.service.archive" ...>
  |     [...]
  |     <replace file="build/jbpm.sar.cfg.jar.dir/hibernate.cfg.xml">
  |       <replacetoken><![CDATA[
  |     <property 
name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
  |     <property 
name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
  |     <property 
name="hibernate.connection.url">jdbc:hsqldb:mem:.;sql.enforce_strict_size=true</property>
  |     <property name="hibernate.connection.username">sa</property>
  |     <property name="hibernate.connection.password"></property>]]>
  |       </replacetoken>
  |       <replacevalue><![CDATA[
  |     <property 
name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
  |     <property 
name="hibernate.connection.datasource">java:/DefaultDS</property>]]>
  |       </replacevalue>
  |     </replace>
  |     ...
  |   </target>
The properties in the text content of the replacevalue element will be used by 
jBPM to create instances of existing processes and to deploy new processes.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923171#3923171

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923171


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to