Hey Steve,

Gots to say that I had the same deal with SQL Server and "text" types... and
my solution (which seems to work, but is lame) was to let JAWS set up the
table, and then change the database data type for that column.  Then, when
CMP did it's thing, it just used the text column instead of a varchar for
all other strings.  The EJB server doesn't seem to care what the database
thinks the column is...

I'm still waiting for another solution, but since you can't extend
java.lang.String, I don't think there's an easy way to make another data
type to map in jaws.xml.

Party on,
Rian

----- Original Message -----
From: "Steven Haines" <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 4:02 PM
Subject: [jBoss-User] JBoss and CLOBs


> I have an entity bean that needs to access a CLOB from
> the database, accept data for the CLOB from a client,
> and populate the CLOB column in the database.
>
> Is there any way to use CMP to accomplish this (if so,
> how?) or should I BMP that field (sample code?) ?
>
> Thanks!
> Steve
>
>
> =====
> Steven Haines
> Technical Lead
> IPNet Solutions
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> (949)476-4463 x388
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - Share your holiday photos online!
> http://photos.yahoo.com/
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to