This week's book giveaway is in the Cloud forum.
We're giving away four copies of Terraform in Action and have Scott Winkler on-line!
See this thread for details.
Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Data size error - urgent

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using WL server 6.1 where I have deployed my contained managed entity beans. I use entity beans (EJB 1.1) to write data to my Oracle (8.1.7) tables. Some of the tables contain fields where rich text data is inserted and we are using LONG data type for these fields. As far as i know, maximum size for Oracle long data type fields are 2GB. But When my application tries to write data through entity beans, its failing after 4000 (approximatey) characters. The error message is :
---
<Exception in ejbStore: java.sql.SQLException: Data size bigger than max size for this type: 6072
java.sql.SQLException: Data size bigger than max size for this type: 6072
---
Any body can give me a clue why this is happening ? Anything to do with my configuration / CMP ?
Thanks in advance
SK
 
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to Java Ranch!
Please review this link for acceptable screen name information:
http://www.javaranch.com/name.jsp
Use this link to change your screen name:
https://coderanch.com/forums/user/edit
Your account may be locked out if you do not change your screen name to an acceptable format.
Michael Pearson
BEA Forum Moderator
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic