Good point :) I could use aggregation instead by creating a class with a String as an attribute. Im surprised that more people haven't responded to this. I figured this is probably a fairly common problem. Thanks for your input Dave!
Mike At 07:24 AM 09/13/2002 -0400, Dave Glasser wrote: >On Thu, 12 Sep 2002 09:26:12 -0500, Mike Shoemaker ><[EMAIL PROTECTED]> wrote: > > >Hello folks > > > >I have a situation where I want to force a CMP Entity bean field to persist > >itself as a Blob datatype. I have the database mapping setup to persist > >Strings as varchar2 as I don't want every string to be stored as a blob. I > >was wondering what some reasonable solutions are. Im thinking I could > >probably subclass string to create BlobString or some object like > >that. > >String is a final class. You can't subclass it. > > >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff EJB-INTEREST". For general help, send email to >[EMAIL PROTECTED] and include in the body of the message "help". Mike Shoemaker http://www.shoesobjects.com =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
