3 Replies Latest reply on Jul 7, 2004 3:13 AM by Alexey Loubyansky

    CMP

    Chris Lamprecht Newbie

      My goal is to store large amounts of text in a DB column -- as much as, say, 100,000 characters. So I used an "Object" CMP type and pass in a StringBuffer that just gets serialized. This is working fine, but I noticed that the serialized data type in the DB is org.jboss.invocation.MarshalledValue. This may be a problem if I need to access the data directly, using JDBC for example.

      So my question is, (1) is there a better way to store large amounts of character data with CMP, and if not: (2) How can I make the serialized Object NOT be org.jboss.invocation.MarshalledValue, so I can access the data outside of JBoss and CMP?

      I searched the forums and only found the following relevant post, with no apparent resolution: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=28910.

      Thank you

      Chris