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.
The moose likes Oracle/OAS and the fly likes Clobs in Oracle 10 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Clobs in Oracle 10" Watch "Clobs in Oracle 10" New topic

Clobs in Oracle 10

Dan Silva
Ranch Hand

Joined: Sep 05, 2007
Posts: 86
I was using our data layer and found that even if I'm using a clob, it wouldn't accept string with over 4000 characters. Is this true? Do I need to use 'bind variables' in order to have anything over 4000 chars?
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 44530
Don't know much about this, but please check what sorts of CLOB there are. Some DBMSs have different sizes of CLOB.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32628

A CLOB can hold way more than 4000 characters. You do need bind variables though. The command line tool can't take really long strings.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Clobs in Oracle 10
It's not a secret anymore!