You'll also need to use the CLOB/BLOB apis, setString etc. will not work 
(IIRC)

-danch

Guy Rouillier wrote:

> I haven't used this datatype, but I just took a quick look at the 9i docs,
> which say this XmlType is built on CLOB, which can have a size up to 4 GB.
> I'm suspecting that unless you specify otherwise, Oracle stores the CLOB in
> the same page as the rest of the columns, so you end up with page
> restrictions.  Try putting your CLOB data into its own storage area, apart
> from the rest of the row.  Are you using tablespaces or user-defined
> storage?
> 
> ----- Original Message -----
> From: "Sridevi Ravulapalli" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, November 18, 2001 10:46 PM
> Subject: [JBoss-user] xml type...
> 
> 
> 
>>Hi ,
>>
>>     I am trying to insert  XML documents into Oracle 9i Database using
>>java beans(BMP).
>>     Intenally I am using the DataType XMLTYPE to store the xml. The
>>Driver i am using is Oracle Thin Driver.
>>
>>      If i try to insert documents greater than 4k  , the error   Data
>>size bigger than max size for this type: 7761 is generated
>>
>>      Could any one please suggest a solution to my problem.
>>
>>    Sridevi.
>>
>>
>>_______________________________________________
>>JBoss-user mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/jboss-user
>>
> 
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to