User development,

A new message was posted in the thread "Converting a variable back":

http://community.jboss.org/message/529694#529694

Author  : Jochen Mader
Profile : http://community.jboss.org/people/jochen_mader

Message:
--------------------------------------------------------------
Solved it.
looks like the documentation is lacking a little.
To actually use the converter one needs to edit
jbpm.execution.hbm.xml and add the converter to the converter typedef.
Pretty hard to figure out and probably woth adding it to the docs.
 
  <!-- ### TYPEDEFS ####################################################### -->

  <typedef name="converter" 
class="org.jbpm.pvm.internal.hibernate.ConverterType">

    <param 
name="org.jbpm.pvm.internal.type.converter.BooleanToStringConverter"    
>bool-str</param>

    <param 
name="org.jbpm.pvm.internal.type.converter.ByteToLongConverter"         
>byte-long</param>

    <param 
name="org.jbpm.pvm.internal.type.converter.CharacterToStringConverter"  
>char-str</param>

    <param 
name="org.jbpm.pvm.internal.type.converter.DateToLongConverter"         
>date-long</param>

    <param 
name="org.jbpm.pvm.internal.type.converter.DateToStringConverter"       
>date-str</param>

    <param 
name="org.jbpm.pvm.internal.type.converter.DoubleToStringConverter"     
>double-str</param>

    <param 
name="org.jbpm.pvm.internal.type.converter.FloatToDoubleConverter"      
>float-double</param>

    <param 
name="org.jbpm.pvm.internal.type.converter.FloatToStringConverter"      
>float-str</param>

    <param 
name="org.jbpm.pvm.internal.type.converter.IntegerToLongConverter"      
>int-long</param>

    <param 
name="org.jbpm.pvm.internal.type.converter.SerializableToBytesConverter">ser-bytes</param>

    <param 
name="org.jbpm.pvm.internal.type.converter.ShortToLongConverter"        
>short-long</param>

    <param 
name="com.hre.portaldb.crosscommon.base.internal.DataEntityToLongConverter">dataEntity-long</param>

  </typedef>


--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/529694#529694


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to