[jbpm-commits] JBoss JBPM SVN: r2820 - in jbpm3/branches/jbpm-3.3.0.GA: modules/core/scripts and 12 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Sat Nov 8 14:11:07 EST 2008


Author: thomas.diesler at jboss.com
Date: 2008-11-08 14:11:06 -0500 (Sat, 08 Nov 2008)
New Revision: 2820

Modified:
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/scripts/antrun-jbpm-config.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.sybase.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/jbpm-sybase-ds.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/JcrNodeInstance.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
   jbpm3/branches/jbpm-3.3.0.GA/pom.xml
   jbpm3/branches/jbpm-3.3.0.GA/profiles.xml.example
Log:
Parameterize sql.type.text

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/scripts/antrun-jbpm-config.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/scripts/antrun-jbpm-config.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/scripts/antrun-jbpm-config.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -14,7 +14,7 @@
 <project default="concat">
 
   <property name="project.build.directory" value="${basedir}/target"/>
-  <property name="project.resources.directory" value="${basedir}/target/classes"/>
+  <property name="build.resources.directory" value="${basedir}/target/classes"/>
 
   <macrodef name="macro-disable">
     <attribute name="file" />
@@ -50,11 +50,11 @@
     <attribute name="database" />
     <sequential>
 
-      <available property="@{database}.properties.available" file="${project.resources.directory}/hibernate.properties.@{database}.xml"/>
+      <available property="@{database}.properties.available" file="${build.resources.directory}/hibernate.properties.@{database}.xml"/>
       <fail message="hibernate.properties.@{database}.xml not available" unless="@{database}.properties.available"/>
       
       <condition property="hibernate.mapping.@{database}.xml" value="hibernate.mapping.@{database}.xml" else="hibernate.mapping.default.xml">
-        <available property="@{database}.mapping.available" file="${project.resources.directory}/hibernate.mapping.@{database}.xml"/>
+        <available property="@{database}.mapping.available" file="${build.resources.directory}/hibernate.mapping.@{database}.xml"/>
       </condition>
       
       <echo message="Concat hibernate.cfg.@{database}.xml using hibernate.properties.@{database}.xml, ${hibernate.mapping.@{database}.xml}" />
@@ -70,10 +70,10 @@
         <hibernate-configuration>
           <session-factory>
         ]]></header>
-        <fileset file="${project.resources.directory}/hibernate.properties.@{database}.xml" />
-        <fileset file="${project.resources.directory}/hibernate.common.xml" />
-        <fileset file="${project.resources.directory}/${hibernate.mapping.@{database}.xml}" />
-        <fileset file="${project.resources.directory}/hibernate.cache.xml" />
+        <fileset file="${build.resources.directory}/hibernate.properties.@{database}.xml" />
+        <fileset file="${build.resources.directory}/hibernate.common.xml" />
+        <fileset file="${build.resources.directory}/${hibernate.mapping.@{database}.xml}" />
+        <fileset file="${build.resources.directory}/hibernate.cache.xml" />
         <footer trimleading="yes"><![CDATA[
           </session-factory>
         </hibernate-configuration>

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.sybase.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.sybase.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/hibernate.properties.sybase.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -13,8 +13,7 @@
     <property name="hibernate.dialect">org.hibernate.dialect.SybaseDialect</property>
 
     <!-- JDBC connection properties (begin) -->
-    <!-- property name="hibernate.connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property -->
-    <property name="hibernate.connection.driver_class">com.sybase.jdbc3.jdbc.SybDriver</property>
+    <property name="hibernate.connection.driver_class">${jdbc.sybase.driver}</property>
     <property name="hibernate.connection.url">${jdbc.sybase.url}</property>
     <property name="hibernate.connection.username">${jdbc.sybase.username}</property>
     <property name="hibernate.connection.password">${jdbc.sybase.password}</property>

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/jbpm-sybase-ds.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/jbpm-sybase-ds.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/jbpm-sybase-ds.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -5,7 +5,7 @@
   <xa-datasource>
     <jndi-name>JbpmDS</jndi-name>
 
-    <xa-datasource-class>net.sourceforge.jtds.jdbcx.JtdsDataSource</xa-datasource-class>
+    <xa-datasource-class>${jdbc.sybase.driver}</xa-datasource-class>
     <xa-datasource-property name="ServerName">${jdbc.sybase.server}</xa-datasource-property>
     <xa-datasource-property name="PortNumber">${jdbc.sybase.port}</xa-datasource-property>
     <xa-datasource-property name="DatabaseName">${jdbc.sybase.database}</xa-datasource-property>

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/JcrNodeInstance.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/JcrNodeInstance.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/JcrNodeInstance.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -17,7 +17,7 @@
 
     <property name="repository" column="LONGIDCLASS_" />
     <property name="workspace" column="STRINGIDCLASS_" />
-    <property name="path" column="STRINGVALUE_" type="text" />
+    <property name="path" column="STRINGVALUE_" type="${sql.type.text}" />
 
   </subclass>
 </hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -8,6 +8,6 @@
   <subclass name="org.jbpm.context.exe.variableinstance.StringInstance" 
             extends="org.jbpm.context.exe.VariableInstance" 
             discriminator-value="S">
-    <property name="value" type="text" column="STRINGVALUE_"/>
+    <property name="value" type="${sql.type.text}" column="STRINGVALUE_"/>
   </subclass>
 </hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -9,8 +9,8 @@
   <subclass name="org.jbpm.context.log.variableinstance.StringUpdateLog" 
             extends="org.jbpm.context.log.VariableUpdateLog"
             discriminator-value="U">
-    <property name="oldValue" column="OLDSTRINGVALUE_" type="text"/>
-    <property name="newValue" column="NEWSTRINGVALUE_" type="text"/>
+    <property name="oldValue" column="OLDSTRINGVALUE_" type="${sql.type.text}"/>
+    <property name="newValue" column="NEWSTRINGVALUE_" type="${sql.type.text}"/>
   </subclass>
 
 </hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -7,7 +7,7 @@
   <subclass name="org.jbpm.graph.action.Script" 
             discriminator-value="S" 
             extends="org.jbpm.graph.def.Action">
-    <property name="expression" column="EXPRESSION_" type="text" />
+    <property name="expression" column="EXPRESSION_" type="${sql.type.text}" />
     <set name="variableAccesses" cascade="all">
       <key column="SCRIPT_" foreign-key="FK_VARACC_SCRIPT"/>
       <one-to-many class="org.jbpm.context.def.VariableAccess" />

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -9,7 +9,7 @@
     <id name="id" column="ID_"><generator class="native" /></id>
 
     <property name="exceptionClassName" column="EXCEPTIONCLASSNAME_"
-      type="text" />
+      type="${sql.type.text}" />
 
     <any name="graphElement" id-type="long" meta-type="char">
       <meta-value value="A" class="org.jbpm.taskmgmt.def.Task"/>

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -25,7 +25,7 @@
 
     <!-- GRAPHELEMENT -->
     <property name="name" column="NAME_"/>
-    <property name="description" column="DESCRIPTION_" type="text"/>
+    <property name="description" column="DESCRIPTION_" type="${sql.type.text}"/>
     <many-to-one name="processDefinition" 
                  column="PROCESSDEFINITION_" 
                  foreign-key="FK_NODE_PROCDEF"

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -13,7 +13,7 @@
     <!-- GRAPHELEMENT -->
     <!-- base class fields are mapped here -->
     <property name="name" column="NAME_" />
-    <property name="description" column="DESCRIPTION_" type="text"/>
+    <property name="description" column="DESCRIPTION_" type="${sql.type.text}"/>
     <map name="events" cascade="all">
       <key column="PROCESSDEFINITION_" foreign-key="FK_EVENT_PROCDEF" />
       <index column="EVENTTYPE_" type="string"/>

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -10,7 +10,7 @@
 
     <!-- GRAPHELEMENT -->
     <property name="name" column="NAME_"/>
-    <property name="description" column="DESCRIPTION_" type="text"></property>
+    <property name="description" column="DESCRIPTION_" type="${sql.type.text}"></property>
     <many-to-one name="processDefinition" 
                  column="PROCESSDEFINITION_"
                  foreign-key="FK_TRANS_PROCDEF"

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -11,7 +11,7 @@
 
     <property name="actorId" column="ACTORID_"/>
     <property name="time" column="TIME_"/>
-    <property name="message" column="MESSAGE_" type="text"/>
+    <property name="message" column="MESSAGE_" type="${sql.type.text}"/>
     <many-to-one name="token" 
                  column="TOKEN_" 
                  foreign-key="FK_COMMENT_TOKEN"

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -10,7 +10,7 @@
             extends="org.jbpm.logging.log.CompositeLog"
             discriminator-value="A">
             
-    <property name="exception" column="EXCEPTION_" type="text"/>
+    <property name="exception" column="EXCEPTION_" type="${sql.type.text}"/>
     <many-to-one name="action" 
                  column="ACTION_" 
                  class="org.jbpm.graph.def.Action" 

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -8,8 +8,8 @@
          table="JBPM_DELEGATION">
     <id name="id" column="ID_"><generator class="native" /></id>
 
-    <property name="className" column="CLASSNAME_" type="text" />
-    <property name="configuration" column="CONFIGURATION_" type="text" />
+    <property name="className" column="CLASSNAME_" type="${sql.type.text}" />
+    <property name="configuration" column="CONFIGURATION_" type="${sql.type.text}" />
     <property name="configType" column="CONFIGTYPE_"/>
     
     <many-to-one name="processDefinition" 

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -35,7 +35,7 @@
     <property name="isExclusive" column="ISEXCLUSIVE_" />
     <property name="lockOwner" column="LOCKOWNER_" />
     <property name="lockTime" column="LOCKTIME_" />
-    <property name="exception" column="EXCEPTION_" type="text"/>
+    <property name="exception" column="EXCEPTION_" type="${sql.type.text}"/>
     <property name="retries" column="RETRIES_" />
 
   </class>

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -9,7 +9,7 @@
   <subclass name="org.jbpm.logging.log.MessageLog" 
             extends="org.jbpm.logging.log.ProcessLog"
             discriminator-value="M">
-    <property name="message" column="MESSAGE_" type="text"/>
+    <property name="message" column="MESSAGE_" type="${sql.type.text}"/>
   </subclass>
 
 </hibernate-mapping>

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -12,7 +12,7 @@
   
     <!-- GRAPHELEMENT -->
     <property name="name" column="NAME_" />
-    <property name="description" column="DESCRIPTION_" type="text"/>
+    <property name="description" column="DESCRIPTION_" type="${sql.type.text}"/>
     <many-to-one name="processDefinition" 
                  column="PROCESSDEFINITION_" 
                  foreign-key="FK_TASK_PROCDEF"

Modified: jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -14,7 +14,7 @@
     <version name="version" column="VERSION_" />
   
     <property name="name"         column="NAME_" />
-    <property name="description" column="DESCRIPTION_" type="text"/>
+    <property name="description" column="DESCRIPTION_" type="${sql.type.text}"/>
     <property name="actorId"      column="ACTORID_" index="IDX_TASK_ACTORID"/>
     <property name="create"       column="CREATE_" />
     <property name="start"        column="START_" />

Modified: jbpm3/branches/jbpm-3.3.0.GA/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/pom.xml	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/pom.xml	2008-11-08 19:11:06 UTC (rev 2820)
@@ -479,6 +479,7 @@
       </activation>
       <properties>
         <database>hsqldb</database>
+        <sql.type.text>text</sql.type.text>
       </properties>
       <dependencies>
         <dependency>
@@ -501,6 +502,9 @@
           <value>hsqldb</value>
         </property>
       </activation>
+      <properties>
+        <sql.type.text>text</sql.type.text>
+      </properties>
       <dependencies>
         <dependency>
           <groupId>hsqldb</groupId>
@@ -522,6 +526,9 @@
           <value>mysql</value>
         </property>
       </activation>
+      <properties>
+        <sql.type.text>text</sql.type.text>
+      </properties>
       <dependencies>
         <dependency>
           <groupId>mysql</groupId>
@@ -543,6 +550,9 @@
           <value>postgresql</value>
         </property>
       </activation>
+      <properties>
+        <sql.type.text>text</sql.type.text>
+      </properties>
       <dependencies>
         <dependency>
           <groupId>postgresql</groupId>
@@ -564,12 +574,23 @@
           <value>sybase</value>
         </property>
       </activation>
+      <properties>
+        <sql.type.text>string</sql.type.text>
+      </properties>
       <dependencies>
+        <!-- 
         <dependency>
+          <groupId>net.sourceforge.jtds</groupId>
+          <artifactId>jtds</artifactId>
+          <scope>test</scope>
+        </dependency>
+        -->
+        <dependency>
           <groupId>com.sybase</groupId>
           <artifactId>jconnect</artifactId>
           <version>6.0.5</version>
-          <scope>test</scope>
+          <systemPath>/opt/sybase/ase1502dev/shared/lib/jconn3.jar</systemPath>
+          <scope>system</scope>
         </dependency>
       </dependencies>
       <repositories>

Modified: jbpm3/branches/jbpm-3.3.0.GA/profiles.xml.example
===================================================================
--- jbpm3/branches/jbpm-3.3.0.GA/profiles.xml.example	2008-11-08 15:23:32 UTC (rev 2819)
+++ jbpm3/branches/jbpm-3.3.0.GA/profiles.xml.example	2008-11-08 19:11:06 UTC (rev 2820)
@@ -27,7 +27,12 @@
         <jdbc.postgresql.username>jbpmtest</jdbc.postgresql.username>
         <jdbc.postgresql.password></jdbc.postgresql.password>
         
+        <jdbc.sybase.driver>net.sourceforge.jtds.jdbc.Driver</jdbc.sybase.driver>
+        <jdbc.sybase.url>jdbc:jtds:sybase://localhost:5000/jbpmtest</jdbc.sybase.url>
+        
+        <jdbc.sybase.driver>com.sybase.jdbc3.jdbc.SybDriver</jdbc.sybase.driver>
         <jdbc.sybase.url>jdbc:sybase:Tds:localhost:5000/jbpmtest</jdbc.sybase.url>
+        
         <jdbc.sybase.server>localhost</jdbc.sybase.server>
         <jdbc.sybase.port>5000</jdbc.sybase.port>
         <jdbc.sybase.database>jbpmtest</jdbc.sybase.database>




More information about the jbpm-commits mailing list