0 Replies Latest reply on Feb 15, 2006 11:42 AM by mennen

    why is the hibernate.cfg.xml file replaced in jbpm 3.1?

    mennen

      Hi,

      I noticed that, in the build.xml file of jbpm 3.1, the hibernate.cfg.xml file replaced under the build.service.archive target:

      <replace file="build/jbpm.sar.cfg.jar.dir/hibernate.cfg.xml">
       <replacetoken><![CDATA[
       <property name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>
       <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
       <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/jbpmtest</property>
       <property name="hibernate.connection.username">root</property>
       <property name="hibernate.connection.password"></property>]]>
       </replacetoken>
       <replacevalue><![CDATA[
       <property name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>
       <property name="hibernate.connection.datasource">java:/DefaultDS</property>]]>
       </replacevalue>
      
       </replace>


      Why is that?

      Thanks in advance