This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I finally get my very first bean working. But there is one weird problem. I'm trying to stuff an HTML fragment into an oracle table where the field type "LONG". "LONG" is supposed to hold character data up to two gigs. I'm passing in strings in the 2 to 3 k range. When I try to pass a string over 4000 bytes I get this message: java.sql.SQLException: Data size bigger than max size for this type: 4081 4081 is the exact size of the string I am trying to put into this field. This exception message is wrapped up from the server and sent to my client. I see it on the weblogic window too. So the CMP is freaking out about the size of my string. Is this something that I configure somewhere? Like "maxSizeOfString=20k"?
just documenting another reason for this error to appear, even while using IOStreams. This happens if you have upgraded from JDK1.1 to JDK1.2 and forgot to upgrade the Oracle thin driver : ( classes111.zip to classes12.zip ).