Display clob data

Can some one tell me is it possible to view a clob data with a simple select statement.I mean for non clob data type we can view the table by a simple select statement but for clob column type the data displayed is some junk.
Currently I have to run some java code to display the clob data colum,which sometimes becomes very irritating.
Please help

boost it with a p4 3.06Ghz HT....
no sorry i don't know...

Similar Messages

  • Displaying CLOB data field

    Hello,
    i have a requirement to display a CLOB data field of text more than 5000 char from a Oracle BI Publisher 10.1.3.4.0 version.
    I can only display that field upto 4000 char using dbms_lob.substr(text_field, 4000, 1) but not able to display the entire CLOB field in my SQL query data template.
    I'm getting the following error:
    XML Parsing Error: not well-formed
    Location: https://abc555.server.com/xmlpserver/servlet/xdo
    Line Number 7, Column 1094:
    Please guide how i can display CLOB fileds(text) in my report.
    Thanks.

    Can any one please let me know if BI Publisher 10.1.3.4.0 can handle CLOB data(text) onto my new report.
    I can only display upto 4000 char using dbms_lob.substr(clob_field, 4000,1).
    Please help.

  • Problem in displaying CLOB data through procedure

    Can anyone suggest me the stored procedure which will output CLOB data which is stored in table
    SQL>Create table XMLDOC
    (col1 number(11,0),col2 CLOB);
    Thanks in Advance

    Create the stored procedure with one OUT VARCHAR2 parameter,then select the CLOB column value from the
    table into this OUT parameter and then display this
    using DBMS_OUTPUT package.
    Or by using bind variable of type VARCHAR2(4000) you
    can print that value of clob column.
    I think this will solve your problem.

  • Sql Developer 3.0.04 hangs displaying CLOB data

    I have two different Oracle instances.
    First is Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production.
    Second is Oracle Database 11g Release 11.2.0.1.0 - 64bit Production.
    Data have been exported and imported in the newest instance. With the same client Sql lDeveloper 3.0.04, I run a query on the same table (in both instances) containing a CLOB column I have different behaviour.
    In the Oracle 9 instance the query returns the right data.
    In the Oracle 11 instance the query hangs without a result.
    Do you have any idea about this behaviour?
    Thanks, Silvio.

    Right, the query does not return any data.
    1. Knowing that the query does not return any data, I got the dump just few seconds after I executed it.
    2. I was opening the table with Object Viewer Data Tab.
    below you will find a dump taken after 30 seconds I executed 'select * from .....' into SQL Worksheet with F5.
    3. I am using the driver inside sql developer installation, I have Oracle 10g client installed but sa far as I know Sql Developer connect Oracle database by java driver.
    4. I am running Sql Developer 3.1.06.44 with Java 1.6.0_11. For other purpose in my machine I have also Java 1.6.0_25.
    Thank you for your replies.
    Silvio.
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    - locked <0x098753e8> (a java.io.InputStreamReader)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at oracle.dbtools.worksheet.commands.scriptrunner.task.ConsumerManagerTask.readLine(ConsumerManagerTask.java:70)
    at oracle.dbtools.worksheet.commands.scriptrunner.task.ConsumerManagerTask.run(ConsumerManagerTask.java:52)
    "Image Animator 3" daemon prio=4 tid=0x35f22800 nid=0x82c waiting on condition [0x3746f000..0x3746fc94]
    java.lang.Thread.State: TIMED_WAITING (sleeping)
    at java.lang.Thread.sleep(Native Method)
    at sun.awt.image.GifFrame.dispose(GifImageDecoder.java:646)
    at sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:441)
    at sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:195)
    at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    "RaptorTask: Checking if Object is Editable.." prio=6 tid=0x359ca000 nid=0xc68 runnable [0x3776f000..0x3776fc14]
    java.lang.Thread.State: RUNNABLE
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at oracle.net.ns.Packet.receive(Packet.java:283)
    at oracle.net.ns.DataPacket.receive(DataPacket.java:103)
    at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:230)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:175)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:100)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:85)
    at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:123)
    at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:79)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1122)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1099)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:288)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1010)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1185)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
    - locked <0x0893ef00> (a oracle.jdbc.driver.T4CConnection)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
    at oracle.dbtools.raptor.newscriptrunner.SQL.executeQuery(SQL.java:356)
    at oracle.dbtools.raptor.newscriptrunner.SQL.run(SQL.java:49)
    at oracle.dbtools.raptor.newscriptrunner.ScriptRunner.runSQL(ScriptRunner.java:200)
    at oracle.dbtools.raptor.newscriptrunner.ScriptRunner.run(ScriptRunner.java:140)
    at oracle.dbtools.worksheet.commands.scriptrunner.task.executor.DefaultStatementExecutorTask.runMe(DefaultStatementExecutorTask.java:46)
    at oracle.dbtools.worksheet.commands.scriptrunner.task.DBCommandRunnerTask.runTaskInThisThread(DBCommandRunnerTask.java:271)
    at oracle.dbtools.worksheet.commands.scriptrunner.task.ScriptRunnerTask.tailoredRunCommand(ScriptRunnerTask.java:84)
    at oracle.dbtools.worksheet.commands.scriptrunner.task.DBCommandRunnerTask.runCommand(DBCommandRunnerTask.java:324)
    at oracle.dbtools.worksheet.commands.scriptrunner.task.DBCommandRunnerTask.loopThroughAllStatements(DBCommandRunnerTask.java:125)
    at oracle.dbtools.worksheet.commands.scriptrunner.task.ScriptRunnerTask.handleNoSelection(ScriptRunnerTask.java:55)
    at oracle.dbtools.worksheet.commands.scriptrunner.task.DBCommandRunnerTask.doWork(DBCommandRunnerTask.java:212)
    at oracle.dbtools.worksheet.commands.scriptrunner.task.DBCommandRunnerTask.doWork(DBCommandRunnerTask.java:54)
    at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:515)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    "pool-4-thread-1" prio=6 tid=0x35cf9400 nid=0x6dc waiting on condition [0x37f7f000..0x37f7fc94]
    java.lang.Thread.State: TIMED_WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x08b17238> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
    at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    "WeakDataReference polling" prio=2 tid=0x3599d800 nid=0xb48 in Object.wait() [0x3827f000..0x3827fd94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x08a2a7d8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at oracle.ide.util.WeakDataReference$Cleaner.run(WeakDataReference.java:88)
    at java.lang.Thread.run(Thread.java:619)
    "Background Parser" prio=6 tid=0x35e76400 nid=0x634 waiting on condition [0x3807f000..0x3807fa94]
    java.lang.Thread.State: TIMED_WAITING (sleeping)
    at java.lang.Thread.sleep(Native Method)
    at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:137)
    at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
    at java.lang.Thread.run(Thread.java:619)
    "IconOverlayTracker Timer" prio=6 tid=0x36227c00 nid=0x6ac in Object.wait() [0x3847f000..0x3847fa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x0884f900> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer queue for AWT thread" daemon prio=6 tid=0x36138800 nid=0x54c in Object.wait() [0x3817f000..0x3817fc94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x081e06a0> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at ice.util.awt.TimedAWTExecutor.nextElem(TimedAWTExecutor.java:108)
    - locked <0x081e06a0> (a java.lang.Object)
    at ice.util.awt.TimedAWTExecutor.runScheduler(TimedAWTExecutor.java:130)
    at ice.util.awt.TimedAWTExecutor$1.run(TimedAWTExecutor.java:19)
    "WaitCursor-Timer" prio=6 tid=0x35e17c00 nid=0x880 in Object.wait() [0x37e7f000..0x37e7fa14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x081791f8> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Native Directory Watcher" prio=2 tid=0x35745c00 nid=0xdd4 runnable [0x37d7f000..0x37d7fa94]
    java.lang.Thread.State: RUNNABLE
    at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
    at oracle.ide.natives.NativeHandler$2.run(NativeHandler.java:252)
    at java.lang.Thread.run(Thread.java:619)
    "TextBufferScavenger" prio=6 tid=0x35bfc400 nid=0xfa8 in Object.wait() [0x37a7f000..0x37a7fc14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x07478ef0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x07478ef0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at oracle.ide.model.TextNode$FacadeBufferReference$PollingThread.run(TextNode.java:1949)
    "Timer queue for AWT thread" daemon prio=6 tid=0x33807800 nid=0x9e4 in Object.wait() [0x3682f000..0x3682fd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x073cdba0> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at ice.util.awt.TimedAWTExecutor.nextElem(TimedAWTExecutor.java:108)
    - locked <0x073cdba0> (a java.lang.Object)
    at ice.util.awt.TimedAWTExecutor.runScheduler(TimedAWTExecutor.java:130)
    at ice.util.awt.TimedAWTExecutor$1.run(TimedAWTExecutor.java:19)
    "BaseTreeExplorer.NodeOpeningExecutor" prio=6 tid=0x35ba4800 nid=0xf50 waiting on condition [0x3797f000..0x3797fa14]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x06ff8058> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    "Scheduler" daemon prio=6 tid=0x35b43000 nid=0xdac in Object.wait() [0x3756f000..0x3756fb14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at oracle.dbtools.raptor.backgroundTask.TaskLinkedList.takeNextTask(TaskLinkedList.java:47)
    - locked <0x06f3b4e0> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$SchedulerThread.run(RaptorTaskManager.java:444)
    "Thread-9" daemon prio=6 tid=0x35b67800 nid=0xecc in Object.wait() [0x36c6f000..0x36c6fc14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x06f3b5d8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x06f3b5d8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at org.tmatesoft.svn.core.javahl.SVNClientImplTracker.run(SVNClientImplTracker.java:65)
    at java.lang.Thread.run(Thread.java:619)
    "TimerQueue" daemon prio=6 tid=0x35b1b800 nid=0x76c in Object.wait() [0x3736f000..0x3736fc94]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at javax.swing.TimerQueue.postExpiredTimers(TimerQueue.java:218)
    - locked <0x06dce7f0> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:234)
    - locked <0x06dce7f0> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:619)
    "Thread-7" daemon prio=6 tid=0x35963c00 nid=0xd10 runnable [0x36d6f000..0x36d6fd94]
    java.lang.Thread.State: RUNNABLE
    at sun.print.Win32PrintServiceLookup.notifyPrinterChange(Native Method)
    at sun.print.Win32PrintServiceLookup.access$100(Win32PrintServiceLookup.java:32)
    at sun.print.Win32PrintServiceLookup$PrinterChangeListener.run(Win32PrintServiceLookup.java:302)
    "ChangeSetService" prio=2 tid=0x35aa8400 nid=0xd0c in Object.wait() [0x36b6f000..0x36b6fa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x06bd18a0> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
    at java.lang.Object.wait(Object.java:485)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.awaitEvents(ChangeSetService.java:178)
    - locked <0x06bd18a0> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.eventLoop(ChangeSetService.java:199)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.access$200(ChangeSetService.java:56)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService$2.run(ChangeSetService.java:138)
    at java.lang.Thread.run(Thread.java:619)
    "TimedCache-Timer" daemon prio=6 tid=0x32fa2c00 nid=0xe4 in Object.wait() [0x346af000..0x346afc94]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.util.TimerThread.mainLoop(Timer.java:509)
    - locked <0x05f617b0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "JarIndex Timer" daemon prio=6 tid=0x3399f400 nid=0x6ec in Object.wait() [0x3411f000..0x3411fd14]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.util.TimerThread.mainLoop(Timer.java:509)
    - locked <0x05ea2308> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "AWT-EventQueue-0" prio=6 tid=0x3395f000 nid=0xdec in Object.wait() [0x33fcf000..0x33fcfd94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.awt.EventQueue.getNextEvent(EventQueue.java:479)
    - locked <0x05ea23b8> (a java.awt.EventQueue)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:236)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    "AWT-Windows" daemon prio=6 tid=0x33952c00 nid=0x6d0 runnable [0x33dcf000..0x33dcfa94]
    java.lang.Thread.State: RUNNABLE
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(WToolkit.java:291)
    at java.lang.Thread.run(Thread.java:619)
    "AWT-Shutdown" prio=6 tid=0x33951800 nid=0xddc in Object.wait() [0x33ccf000..0x33ccfb14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x05ea24e0> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:619)
    "Java2D Disposer" daemon prio=10 tid=0x3393bc00 nid=0xf68 in Object.wait() [0x33bcf000..0x33bcfb94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x05ea2570> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:125)
    at java.lang.Thread.run(Thread.java:619)
    "Low Memory Detector" daemon prio=6 tid=0x32f65400 nid=0xf5c runnable [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "CompilerThread0" daemon prio=10 tid=0x32f5f800 nid=0xe64 waiting on condition [0x00000000..0x335cf9bc]
    java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x32f5dc00 nid=0x328 runnable [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x32f5cc00 nid=0x148 waiting on condition [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x32f49800 nid=0xe38 in Object.wait() [0x332cf000..0x332cfa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x05e20298> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x32f48400 nid=0xe90 in Object.wait() [0x331cf000..0x331cfb14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x05e20320> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x003e7800 nid=0x8bc waiting on condition [0x00000000..0x0013fae8]
    java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=10 tid=0x32f44c00 nid=0x238 runnable
    "VM Periodic Task Thread" prio=10 tid=0x32f67800 nid=0xbc8 waiting on condition
    JNI global references: 4092
    Heap
    def new generation total 9216K, used 7605K [0x02cf0000, 0x036e0000, 0x05e20000)
    eden space 8256K, 90% used [0x02cf0000, 0x034414a0, 0x03500000)
    from space 960K, 11% used [0x03500000, 0x0351c218, 0x035f0000)
    to space 960K, 0% used [0x035f0000, 0x035f0000, 0x036e0000)
    tenured generation total 121152K, used 60529K [0x05e20000, 0x0d470000, 0x2acf0000)
    the space 121152K, 49% used [0x05e20000, 0x0993c4f8, 0x0993c600, 0x0d470000)
    compacting perm gen total 72704K, used 72561K [0x2acf0000, 0x2f3f0000, 0x32cf0000)
    the space 72704K, 99% used [0x2acf0000, 0x2f3cc630, 0x2f3cc800, 0x2f3f0000)
    No shared spaces configured.

  • Component to display a CLOB data

    Hi, i'm looking for a component which can render a CLOB type xml data. The expected size of the xml could be upto 6mb which needs to be presented in the xml format. Thanks .

    Thanks for your response. The use case is , we need to show a xml message file which is stored as a CLOB data type(because of it''s size upto 6mb. ). To the user the xml message needs to be presented as in a xml editor. User can view and edit the xml and should able to save it back to database. Thanks .

  • Exporting Text data from PHP to Oracle CLOB data (Carriage return - issue)

    This is my original text content in PHP - Data type - Longtext
    SECTION - 1
    This a test description.This a test description.
    This a test description.This a test description.
    This a test description. This a test description.I exported the above content from PHP as a SQL script file (insert into.. ) - export.sql [ insert into table_name (id, text_content) values (1, '') ]
    while exporting data from PHP table into export file.. it replaced the "Carriage return" with "\r\n\r\n" in the insert statement for text_content column
    When I run this INSERT statement in Oracle (for longtext, I have created a CLOB column in Oracle), the following text_content data is inserted into CLOB column in Oracle.
    SECTION - 2
    This a test description.This a test description.\r\n\r\nThis a test description.This a
    test description.\r\n\r\nThis a test description.This a test description.Now I have created a item named P1_TEXT_CONTENT of type TEXTAREA and try to fetch the CLOB data into this page item.
    BUT textarea displays the entire content including "\r\n\r\n" as mentioned in SECTION - 2
    I want to display the content in textarea (item - P1_TEXT_CONTENT) without "\r\n\r\n" same as the original content with "Carriage return" as mentioned in SECTION - 1
    What are the options we have?
    Thanks,
    Deepak

    DeepakJ wrote:
    I want to display the content in textarea (item - P1_TEXT_CONTENT) without "\r\n\r\n" same as the original content with "Carriage return" as mentioned in SECTION - 1
    What are the options we have?Run an update on the Oracle table following the inserts to replace the escaped CR/LFs with real ones:
    update foo
    set clob_column = replace(clob_column, '\r\n', chr(13) || chr(10));You might want to experiment to see which characters are actually necessary. As an OS X/Linux user I'd probably just use a single LF chr(10).

  • Using CLOB data type - Pros and Cons

    Dear Gurus,
    We are designing a database that will be receiving comments from external data source. These comments are stored as CLOB in the external database. We found that only 1% of incoming data will be larger than 4000 characters and are now evaluating the Pros and Cons of storing only 4000 characters of incoming comments in VARCHAR2 data type or using CLOB data type.
    Some of the concerns brought up during discussion were:
    - having to store CLOBs in separate tablespace;
    - applications, such Toad require changing defaults settings to display CLOBs in the grid. Default value is not to display them;
    - applications that build web page with CLOBs will be struggling to fit 18 thousand chararcters of which 17 thousand are blank lines;
    - cashing CLOBs in memory will consume big chunk of data buffers which will affect performance;
    - to manipulate CLOBs you need PL/SQL anonymous block or procedure;
    - bind variables cannot be assigned CLOB value;
    - dynamic SQL cannot use CLOBs;
    - temp tables don't work very well with CLOBs;
    - fuzzy logic search on CLOBs is ineffective;
    - not all ODBC drivers support Oracle CLOBs
    - UNION, MINUS, INTERSECT don't work with CLOBs
    I have not delt with CLOB data type in the past, so I am hoping to hear from you of any possible issues/hastles we may encounter?

    848428 wrote:
    Dear Gurus,
    We are designing a database that will be receiving comments from external data source. These comments are stored as CLOB in the external database. We found that only 1% of incoming data will be larger than 4000 characters and are now evaluating the Pros and Cons of storing only 4000 characters of incoming comments in VARCHAR2 data type or using CLOB data type.
    Some of the concerns brought up during discussion were:
    - having to store CLOBs in separate tablespace;They can be stored inline too. Depends on requirements.
    - applications, such Toad require changing defaults settings to display CLOBs in the grid. Default value is not to display them;Toad is a developer tool so that shouldn't matter. What should matter is how you display the data to end users etc. but that will depend on the interface. Some can handle CLOBs and others not. Again, it depends on the requirements.
    - applications that build web page with CLOBs will be struggling to fit 18 thousand chararcters of which 17 thousand are blank lines;Why would they struggle? 18,000 characters is only around 18k in file size, that's not that big to a web page.
    - cashing CLOBs in memory will consume big chunk of data buffers which will affect performance;Who's caching them in memory? What are you planning on doing with these CLOBs? There's no real reason they should impact performance any more than anything else, but it depends on your requirements as to how you plan to use them.
    - to manipulate CLOBs you need PL/SQL anonymous block or procedure;You can manipulate CLOBs in SQL too, using the DBMS_LOB package.
    - bind variables cannot be assigned CLOB value;Are you sure?
    - dynamic SQL cannot use CLOBs;Yes it can. 11g supports CLOBs for EXECUTE IMMEDIATE statements and pre 11g you can use the DBMS_SQL package with CLOB's split into a VARCHAR2S structure.
    - temp tables don't work very well with CLOBs;What do you mean "don't work well"?
    - fuzzy logic search on CLOBs is ineffective;Seems like you're pulling information from various sources without context. Again, it depends on your requirements as to how you are going to use the CLOB's
    - not all ODBC drivers support Oracle CLOBs not all, but there are some. Again, it depends what you want to achieve.
    - UNION, MINUS, INTERSECT don't work with CLOBsTrue.
    I have not delt with CLOB data type in the past, so I am hoping to hear from you of any possible issues/hastles we may encounter?You may have more hassle if you "need" to accept more than 4000 characters and you are splitting it into seperate columns or rows, when a CLOB would do it easily.
    It seems as though you are trying to find all the negative aspects of CLOBs and ignoring all the positive aspects, and also ignoring the negative aspects of not using CLOB's.
    Without context you're assumptions are just that, assumptions, so nobody can tell you if it will be right or wrong to use them. CLOB's do have their uses, just as XMLTYPE's have their uses etc. If you're using them for the right reasons then great, but if you're ignoring them for the wrong reasons then you'll suffer.

  • Use report to display html data

    Hi
    I have multiple rows of text in a clob field that contains html tags. I want to display this data in html format in my htmldb application. Can I use an htmldb report to do this or am I better off using an item?
    Thanks

    bump...
    has anyone a solution to this?
    I have a form that allows users to add raw HTML code. Now I want to display the formatted version in a report but the tags show in the report instead...any suggestions?
    regards
    Paul P

  • How to Display XML data on a Window within my JDev App?

    I want to display some XML data stored on the database (in a CLOB field) in such a way that the XML tags and values are colored/highlighted as if they were read in a browser like Internet Explorer.
    Currently I am displaying the data using a JEditorPane field and the results are hard to read as the tags and values show on the same color and in plain text.
    I want to dispay this within my application (9i), not going to an external browser; i.e. I want the window (panel) to act as a browser when displaying the data.
    Any ideas would be appreciated.
    Thanks.

    You can use utl_http in the database to call the webservice and display the result in a form item.
    Example:
    http://www.oracle-base.com/articles/9i/ConsumingWebServices9i.php

  • How to convert CLOB data (now it is in html format) to Normal text format

    Hi,
    Can anybody let me know the solution for how to convert CLOB data into normal Text.In my case the table column having CLOB datatype and the data is in html format.when i run the report the column is displaying html tags .Now i need to convert that html tags into normal text.
    Pl. let me know if any one know the solution.
    Regards,
    Thulasi.K

    LONG has been depricated since 8i so I don't believe there is a general solution to go backwards short of reloading the data.
    Justin

  • Ora9i Rpt Dvlpr doesn't display clob in web report

    I've got simple table with clob data:
    CREATE TABLE TAB_CLOB (
    ID NUMBER (12) NOT NULL,
    CLASS VARCHAR2 (3) NOT NULL,
    CONTENTS CLOB,
    with some data.
    Using SQL+ with this select:
    select * from TABLE_CLOB
    finds and displays data in all three columns.
    Paper report with the same select formula displays number, char and clob data, but web report displays only number and char data - doesn't display clobs.
    Suggestions?

    This was an issue with 9.0.2 base release and has been fixed in Reports patches. Please apply Report 9.0.2.0.5 integrated patch for the fix.
    thanks
    rohit

  • Error in calling CLOB data.. Error parsing envelope:

    Hi,
    I have database table with some CLOB data type columns.
    using DB adpater (simple select query using), I am selecting that talbe. I am getting the following error :
    Your test request generated the following exception/fault:
    Could not initiate the BPEL process because the input xml is not well formed, the reason is :
    Error parsing envelope: (1, 223) Invalid char in text. Please correct the input xml.
    How to read the CLOB data from DB that and assigs back to output varaiable in BPEL.
    Thanks,
    Bharath

    Hi,
    You want to upload file by TCP on RT target, but TCP/IP is not deterministic, so you have an timeout error.
    Have a look on this :TCP/IP Communication Error -56 When Communicating to an RT System
    Regards,
    Aurélien J.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Du 30 juin au 25 août, embarquez pour 2 mois de vidéo-t'chat ! Prenez place pour un voyage au coe...

  • Loading clob data/Migrating from Informix

    Hi,
    I wanted to understand a way to insert clob data into the database. I see that you have ways of retrieving and displaying the clobs/blobs in your demo programs. But, how do we go about inserting clob data into a column? And especially, How to accomplish this when the data is stored in the form of a file?
    We're in the process of migrating from Informix to Oracle and Informix has this way of storing the clob contents into .EMB files. Moreover, there is no one-to-one correspondence between each clob column and an .EMB file. Informix just knows how to load them up when you use FILETOCLOB(). In similar lines, do we have a way to load clob data from files to start with. And would be glad to get some intricacies on achieving the migration of data from Informix database.
    Please send me pointers to docs and procedures, if available.
    Thanks for your time
    Chandra M.

    You can see this sample:
    /******* schema ********
    create table city
    (id integer ,
    cimg blob DEFAULT NULL
    #include <iostream>
    #include <fstream>
    #include <occi.h>
    using namespace oracle::occi;
    using namespace std;
    #define BUFSIZE 8192
    Environment *env;
    Connection *conn;
    int res=0;
    unsigned int offsetw=1;
    unsigned char readbuf[BUFSIZE];
    main()
    try {
    env = Environment::createEnvironment();
    conn = env->createConnection("scott","tiger");
    catch(SQLException &x)
    cout << "Error :" << x.what() <<"\n";
    return 1;
    try
    ifstream infile ("bangalore.jpg", ios::binary);
    if (!infile.is_open()) cout << "could not open bangalore.jpg\n";
    else
    Statement *stmt = conn->createStatement();
    stmt->setSQL( "INSERT INTO city VALUES(1, EMPTY_BLOB())");
    stmt->execute();
    stmt->setSQL("SELECT cimg from city where id = 1");
    stmt->execute();
    ResultSet *rs= stmt->getResultSet();
    rs->next();
    Blob blob(conn);
    blob = rs->getBlob(1);
    blob.open();
    do
    infile.read((char *)readbuf,BUFSIZE);
    res=infile.gcount();
    if (!res) break;
    blob.writeChunk(res,readbuf, BUFSIZE, offsetw);
    offsetw+=res;
    } while (1);
    infile.close();
    blob.close();
    conn->commit();
    catch(SQLException &x)
    cout << "Error :" << x.what() <<"\n";
    try{
    env->terminateConnection(conn);
    Environment::terminateEnvironment(env);
    catch(SQLException &x)
    cout << "Error :" << x.what() <<"\n";
    } /* end of main */

  • How to select CLOB data

    Hi,
    I am using PHP4.4 and Oracle 10g for my research work. I defined 'protein_seq' field as CLOB in a table. I uploaded data into it using sqlloader.
    Now, I want to display the value of that field based on user requirements. When i did like this, I am getting 'Object' as value instead of original value.
    $s4 = OCIParse($conn, "select * from protein_uniprot where uniprot_id LIKE '$protein%'");
    OCIExecute($s4, OCI_DEFAULT);
    while (OCIFetch($s4)) {
    $proteinseq = OCIResult($s4, "PROTEIN_SEQ");
    echo $proteinseq;
    Could you please help me how to fetch CLOB data from oracle table using PHP.
    Thanks,
    Rani.

    convert the lob column to varchar2. Use [dbms_lob |http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_lob.htm#BABEEAAH] package to convert
    select dbms_lob.SUBSTR(column,2000,1) from table- - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Display CLOB field in Dashboard

    I have a column type as CLOB in my database. I want to display contents of a that field in the Dashboard, How can I do so ?
    On importing the column in the physical layer it maps the data-type to LONGVARCHAR(32768). It doesnot not display the contents on creating the reports, and even on casting to VARCHAR there is a limit upto 4000 characters.
    So, how can I display?
    thanks
    Rishabh

    There are a couple of approaches that you can use. I have blogged about both the approaches here http://oraclebizint.wordpress.com/2007/11/12/oracle-bi-ee-101332-working-with-clob-fields/ and http://oraclebizint.wordpress.com/2007/12/10/oracle-bi-ee-101332-displaying-blob-images-using-plsql-gateway/. Though the 2nd blog entry is on BLOBs you can use the same concept to display clobs.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

Maybe you are looking for

  • Activated phone but still can't get it to work.

    I have spent all day activating my iphone, set up an account, etc. and now it when I send a text or someone tries to text me it tells me "recipient has insufficient funds to receive message".  I have tried to call customer service only to be disconne

  • Sales employee wise report

    Hi, I need a report to see total sales by sales employee wise. We are using HR module and I am able to select sales employee in my sales order from the HR master. However when I run the report MCTI, I am not able to select the sales employee (no drop

  • Problem when creating user

    Hi When I create user with the following command its working fine. ./commadmin user create -D admin -F Satish -n testdomain.com -l satish -w password -W password -L Jha -S mail,cal -E [email protected] -H ms1.testdomain.com But when I try to create u

  • HT3281 Frustrations with searching iTunes for podcasts

    Does anyone actually find the iTunes store search useful and/or intuitive? 1. Why would ANYONE want to search for a keyword across podcasts, albums, songs, apps, itunes U, collections etc etc all at once?? Ok, maybe include that feature for completel

  • Managing Null Values in a string

    Dear all, I have an employee view with these columns ( EmpNo , FirstName, SecondNane, ThirdName, FamilyName ) now when i bring the full name am writing the following : ViewObject vo = ... Row vor=vo.next(); fullName = (String) vor.getAttribute("First