[jboss-user] [jBPM] - I18NText with Oracle
Kiran A
do-not-reply at jboss.com
Thu Oct 13 17:37:47 EDT 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111013/99944e01/attachment-0001.html
More information about the jboss-user
mailing list