Kiran A [http://community.jboss.org/people/tropigeek] created the discussion

"I18NText with Oracle"

To view the discussion, visit: http://community.jboss.org/message/631689#631689

--------------------------------------------------------------
I am using JBM-5.2.0-SNAPSHOT with Oracle10g and Hibernate 3.6.0.Final. 
Task Service was throwing a java.lang.ClassCastException: $Proxy88 cannot be 
cast to oracle.sql.CLOB while saving the task.

I had to modify the source for org.jbpm.task.I18NText to include the 
StringClobType (Didn't try the  
+http://docs.jboss.org/hibernate/core/3.5/javadoc/org/hibernate/type/MaterializedClobType.html
 MaterializedClobType+ but I guess that would work too)

    @Lob
*@Type(type = "org.hibernate.type.StringClobType")*
    private String text;


Would be great to use a hibernate text instead of Lob. 

Regards
--K
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/631689#631689]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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

Reply via email to