• 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:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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
 
Don't mess with me you fool! I'm cooking with gas! Here, read this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic