persistence@glassfish.java.net

RE: CLOB saving

From: Northrup, Carey T <Carey.T.Northrup_at_boeing.com>
Date: Fri, 4 May 2007 15:27:07 -0500

Yes, we are using the @lob annotation.

-----Original Message-----
From: Gordon Yorke [mailto:gordon.yorke_at_oracle.com]
Sent: Friday, May 04, 2007 3:21 PM
To: persistence_at_glassfish.dev.java.net
Subject: RE: CLOB saving

Are you marking the property with the @LOB annotation?
--Gordon

-----Original Message-----
From: Northrup, Carey T [mailto:Carey.T.Northrup_at_boeing.com]
Sent: Friday, May 04, 2007 4:19 PM
To: persistence_at_glassfish.dev.java.net
Subject: CLOB saving


Hi,
 I'm using the persistance API to save data in a CLOB field. Saving
larger amounts of data results in this error.

java.sql.SQLException: setString can only process strings of less than
32766 chararacters

Is there any way of using CLOB types with toplink essentials and save
larger amounts of data?

Any direction on this would be greatly appreciated.

Thanks,

Carey Northrup
The Boeing Company