NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
finlowba
Joined: 31 Jan 2009 Posts: 1
|
Posted: Sat Jan 31, 2009 5:20 pm Post subject: A truncation error was encountered trying to shrink CLOB |
|
|
Hi I am receiving the following error message when I attempt to persist a long section of text. I am using the following annotations in my entity class.
| Code: | @Basic @Lob
private String fileText; |
Caused by: org.apache.derby.client.am.SqlException: A truncation error was encountered trying to shrink CLOB '%PDF-1.4%âãÏÓ207 0 obj<< /Linearized 1 /O 209 /H [ 1307 1044&' to length 64000.
at org.apache.derby.client.am.Statement.completeExecute(Unknown Source)
at org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Unknown Source)
at org.apache.derby.client.net.NetStatementReply.readExecute(Unknown Source)
at org.apache.derby.client.net.StatementReply.readExecute(Unknown Source)
at org.apache.derby.client.net.NetPreparedStatement.readExecute_(Unknown Source)
at org.apache.derby.client.am.PreparedStatement.readExecute(Unknown Source)
at org.apache.derby.client.am.PreparedStatement.flowExecute(Unknown Source)
at org.apache.derby.client.am.PreparedStatement.executeUpdateX(Unknown Source)
Is there any way to increase the size of a CLOB and if there is how do I go about doing so?
I am using the derby database, netbeans and toplink.
Thanks for any help. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|