Why can't read clob
in oracle 8.1.7, I can read clob success; but can't execute in 8.1.6. the error info is :
ORA-03120: two-task conversion routine: integer overflow
please help me! please help me!
example code:
myClob = rs.getClob("content");
Reader instream = myClob.getCharacterStream();
char[] buffer = new char[10];
int length = 0;
while ((length = instream.read(buffer)) != -1) {
out.print("Read " + length + " chars: ");
for (int i=0; i<length; i++) out.print(buffer);
instream.close();
Hi there,
I am not a php expert, but worked with C, C++, Perl and Java systems working with Oracle database.
Oracle 10g is very flexible and advanced in term of LOBs and CLOBs (you can retrive CLOBs like any other type, can create indexes on CLOB columns and all string functions can work with CLOBs).
When we retrive Oracle CLOB into another language, we need to look at the facilities provided by driver software interacting with Oracle.
In Oracle, you can simply do 'select clob_column from table'. Question is, how the php driver can handle that CLOB data? Can you create a ref cursor and retrive the data? can you create a stream of data and extract the clob (like in C)? or can you simply create a php veriable of unlimited size and select the clob into it (like in Perl)?
See if this link is relevant for you
http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/fuecks_lobs.html
Please let us know which solution did you implement.
Regards
Similar Messages
-
Hello all,
I saw this message in my Iphone 5 notes.
It reads " Stop! who are you? And why can I read your and you my notices?? "
I did not write it.
Please has anyone had any similar experience?
Any suggestions/solution would be greatly appreciated.
ThanksoliverMili wrote:
Hello all,
I saw this message in my Iphone 5 notes.
It reads " Stop! who are you? And why can I read your and you my notices?? "
I did not write it.
Please has anyone had any similar experience?
Any suggestions/solution would be greatly appreciated.
Thanks
I had a similar experience with mac e-mail where apparently someones ICLOUD id for their Iphone was created with an Alias I had @mac.com for years. Originally thought the mail was phishing and deleted without opening - then received forwarded mail from the other persons non-apple account - so gave feedback through mail to apple and also sent an email to the other persons non-apple account from a non-apple account telling them I was getting their mail because it was my alias.
That person did get apple to untangle the accounts so I did have to reset my password once it was done.
So one option would be to contact apple support to get them to find out what is going on with your account.
E-mail contact of the other person was easy once I had a legit account to send to -- don't know how you would contact the other person in notes. -
Can we read clob data present in oracle database by BPEL
Hi all,
Please let me know or help me understand whether we can read clob data(excel file) present in database by BPEL?
TIATry this one,
Re: Reading Xml file from clob column in the staging table
Hope it helps, -
Why can Premiere read DNxHD MOV's but not MXF's?
I'm in the process of moving from Scratch to Resolve. From Scratch I've always exported DNxHD QT's as they have been the best balance of quality and file size (and Scratch doesn't offer DNxHD MXF output). Resolve 8 will only export DNxHD MXF's (version 9 is supposed to add QT export) but Adobe suite can't read them. To the best of my knowldge the MXF is just a wrapper, the contect is the same so why can't the CS6 suite read them?
Item for the suggestion box?I guess my question is: Can Premiere/AME CS6 read DNxHD MXF files?
I am running Win7/64 with CS6 Creative Cloud. I have the Avid DNxHD codec installed.
Both Scratch and Resolve are colour grading applications (see http://www.assimilateinc.com/ and http://www.blackmagic-design.com/products/davinciresolve ). Scratch would only output DNxHD QT's and Resolve will only output DNxHD MXF's. I often output one set of files after post-colour but then use AME to transcode them many different ways (screening copies). Adobe suite has always read the QT's but is not reading the MXF's. My understanding is that the file types are both just wrappers and the content is the same so I am looking to see if there is an additional download from Adobe to be able to use the MXF's or if this is a feature request? -
Why can't read access log file in real-time? (Oracle Weblogic Server 10.3)
We can't read access log file in real-time. If access log is rotation to new file so can read access log file but can't read real-time.
*** Oracle Weblogic Server versions 10 R3what's your meaning? try this command "tail -f access.log".
Threre is a buffer about 8K for WebLogic to write the access info into the log files, so you can't see the access info untill the buffer is full. -
Why can adobe reader open documents preview can't?
I recently came across a pdf here for a friend, and was shocked when preview couldn't open it, but adobe reader xi could. I had it in my head that PDF was a standard. Has adobe added something to it? Or did they just insert a script to force me to use their product? Would upgrading to mountain lion fix my problem? (newer Preview?)
Preview version 5.03I have it on the computer and it worked fine, I just didn't prefer the interface. (Also, possibly slower. Hard to measure)
Maybe I wasn't clear. I had guessed that the program that could only be opened by Acrobat was made with Acrobat.
What I wanted to know was why preview couldn't open it. Does every document created with Acrobat prevent other programs from opening it? It seems unlikely, as this is the first I have found with something like that. Is it a new thing with reader xi? How do they accomplish this? A change of headers? Some sort of non-standard encryption? An imbedded script?
I suppose it is improbable that anyone actually knows... -
Why can I read from my instruments in LabView only when NI Spy is open?
This is a recurring problem, but I hope someone has an idea of what may be causing it. I have two older (c. 1992) instruments that we use for simple measurements. One is a Newport PMC-400 actuator driver/motion controller, the other is a EG&G/Princeton Applied Research 5302 lock-in amplifier. I am using Labview 6i with a PCI-GPIB card.
The instruments themselves work fine, and seem to run somewhat reliably if NI-Spy is open. However, if we close NI-Spy, the GPIB seems to "lock up" and time out, requiring resets of all the instruments. This seems to be something related to either command termination or timing.
Any thoughts/hints/solutions would be greatly appreciated.Hi JFoley,
The reason this happens is usually related to the instrument! Certain older instruments communicate with the GPIB board in such a way that they indicate that they are able to receive data before they really are. This was a nice trick back in the day when computers were slower, and it could get away with �lying� about its state as it would make the instrument look faster than it was! With the faster computers of today it throws off the bus timing and can cause problems.
You may be able to resolve the timing problems, either by introducing delays between GPIB commands, or by changing the GPIB bus timing to the slowest setting (in the GPIB Configuration Utility). The first option is usually successful, but the second option is less effective becau
se it only affects the time that the GPIB controller waits before valid data is on the bus and the DAV line is asserted (a step in the GPIB handshaking that occurs each time a byte of information is sent to the device).
Hope this helps out!
Best Regards,
Aaron K.
Application Engineer
National Instruments -
Why can't I connect to the Internet on my Adobe Reader? And why do websites tell me I don't have Adobe downloaded when I have an updated version on my computer? It is an IPad,does that affect it?
Also, download and open the free Adobe Reader app. Then read the Help section to figure out how to use it.
-
How can i read a stored picture in oracle Long Raw datatype? blob or clob?
How can i read a stored picture in oracle Long Raw datatype? Like a blob or clob?....i am using jdk 1.3
This is because...i tried to read it like a blob but i obtain a exception...about Type of column no valid......but the column exist....and it contains the long raw datatype of the pictures.....this is my code:
import java.sql.*;
import java.io.*;
import java.util.*;
import oracle.jdbc.driver.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.InputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import java.sql.DriverManager;
import oracle.sql.BLOB;
import oracle.sql.BLOB.*;
import oracle.jdbc.driver.*;
import java.sql.*;
class rec_ima1
public static void main(String h[])
Connection con = null;
Blob bl;
final ImageIcon image1;
JPanel photo;
try
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
con= DriverManager.getConnection("jdbc:oracle:thin:@123.3.12.213:1521:db_name","user","password");
String query = "Select * from pictures where ID = '18840'";
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery( query );
if (!rs.next())
System.out.println("Empty Result Set");
bl = rs.getBlob(5);
if (bl == null) {
System.out.println("Null Blob");
return;
InputStream is = bl.getBinaryStream();
int imageLength = (int) bl.length();
System.out.println(imageLength);
System.out.println(bl.length());
byte[] imageData = new byte [imageLength];
is.read(imageData, 0, imageLength);
image1 = new ImageIcon(imageData);
photo = new JPanel() {
public void paint(Graphics g){
g.setColor(Color.lightGray);
g.drawImage(image1.getImage(), 0, 0, this);
} catch (Exception e) {
e.printStackTrace();
Now i tried using clob:
import java.sql.*;
import java.io.*;
import java.util.*;
import oracle.jdbc.driver.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.InputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import java.sql.DriverManager;
import oracle.sql.CLOB;
import oracle.sql.CLOB.*;
import oracle.jdbc.driver.*;
import java.sql.CallableStatement;
class rec_ima4
public static void main(String h[])
Connection con = null;
Clob cl;
JPanel photo;
try
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
con= DriverManager.getConnection("jdbc:oracle:thin:@123.3.12.213:1521:db_name","user","password");
con.setAutoCommit (false);
String query = "Select * from pictures where ID = '18840'";
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery( query );
while (rs.next()) {
oracle.sql.CLOB clob = (CLOB) rs.getObject(5); //line 47
} catch (Exception e) {
e.printStackTrace();
This is the runtime exception:
java.lang.ClassCastException: [B
at rec_ima4.main(rec_ima4.java:47)Thanks by answering to me......
Well....i did that....but what is ImageIO?....
I declared a ImageIcon imageIO, but this give me the following:
rec_ima3.java:49: cannot resolve symbol
symbol : class BufferedImage
location: class rec_ima3
BufferedImage bi = ImageIO.read(bInput);
^
rec_ima3.java:49: cannot resolve symbol
symbol : variable ImageIO
location: class rec_ima3
BufferedImage bi = ImageIO.read(bInput);
^
What classes i have to import?.....what is ImageIO?
Thanks -
Why can't I read or send messages on my IPad ?
Why Can't I read or send my messages on my I Pad?
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
iOS: FaceTime is 'Unable to verify email because it is in use'
http://support.apple.com/kb/TS3510
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Troubleshooting iMessage Issues: Some Useful Tips You Should Try
http://www.igeeksblog.com/troubleshooting-imessage-issues/
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
FaceTime, Game Center, Messages: Troubleshooting sign in issues
http://support.apple.com/kb/TS3970
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
How to Block Someone on FaceTime
http://www.ehow.com/how_10033185_block-someone-facetime.html
My Facetime Doesn't Ring
https://discussions.apple.com/message/19087457
Send an iMessage as a Text Message Instead with a Quick Tap & Hold
http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
You can check the status of the FaceTime/iMessage servers at this link.
http://www.apple.com/support/systemstatus/
Cheers, Tom -
Why can't I open a pdf file on my desktop? I have Adobe Reader and running OS 10.10.1 I keep getting the same message: "Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."
I tried that.
I saved the file 8pdk_96_4.pdf to my desktop and tried to open it using Adobe Reader but I get the same message: Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). -
I subscribed to Adobe PDF Pack, why can't I convert Pdf files to doc and/or jepg with my acrobat reader XI
I purchased the Pack three days ago, asked to sign in. when I try to sign in, I am led to a page to purchase the program.
What do I need to do to activate my subscribtion, so it will work with my reader XI?Hi helmutb86458194,
Did you have an update for us? Your response came through blank...
Best,
Sara -
Hi!
I think my question might be simple to answer, so please if you read this give it a try...
I just bought a new laptop with windows 7 on it. Adobe Reader 9 was allready installed. I wanted to open simple pdf files, but I got the message "Adobe Reader ?" in an empty field that pops up.
Why can't I open pdf files? Do I also need to install the Adobe Flash Player as well?
I would be very glad if you could give me a hint.
ThanxIt appears as if Adobe Reader is not correctly installed. Try installing the latest version 9.2 from http://get.adobe.com/reader/ - make sure that you uncheck any unwanted software bundled with the download.
P.S. no, you don't need Flash Player to open PDF files. -
Why can't I read my book in Reader like I bought it?????
It's been awhile since I used one of my eBooks but every time I double-click it brings me to a web-site to install DE. Even after installing it still takes me to DE. Even when I'm in DE the experience is less than pleasurable. Why can't I read it how I want to? I hate DRM!!!!! Way to kill enthusiasm for eBooks Adobe! Guess I'll have to repurchase a paper version.
Who programmed this piece of crap anyway? Why can't I simply hold my down arrow to scroll the document like every other application in existence? Why does clicking above or below the thumb in the scrollbar not page up or page down like every other application in existence????? Why do I have to bring up some weird little window to zoom to anything other than a predefined width??? I am completely infuriated that I cannot read my book in the format I purchased it!
Having it in Reader was so cool. I could double-click on the file and pick up reading where I left off. It almost felt like a book. Now it feels like locked digital content that I have to jump through a bunch of hoops to get to and that may or may not be there for me when I need it. Way to go idiots!With Adobe Acrobat 8.0, Adobe Reader 8.0 and the Digital Editions software, Adobe has really crippled the PDF reader. I supposed, eventually Adobe will address this issue, but here's what you can do now to get the functionality back:
If you installed or upgraded to Adobe Acrobat 8.0 or Adobe Reader 8.0, uninstall the software and go back to Adobe Acrobat 7.0 or Adobe Reader 7.0. You can still download this version of Adobe Reader from Adobe's website.
Uninstall the Digital Editions software completely from your computer.
Go into Adobe Acrobat 7.0 or Adobe Reader 7.0 and disable the feature that automatically updates the software (to prevent your software from being upgraded to 8.0 without your knowledge):
Edit > Preferences > Updates > select the option "Do not automatically check for critical updates"
Change the file association for PDF files back to Adobe Reader 7.0 (or Adobe Acrobat 7.0): open up File Explorer > select Tools > Folder Options > File Types > find and highlight the PDF file type > select the "Change" button and select Adobe Reader 7.0 or Adobe Acrobat 7.0.
This won't fix the books you've already opened in the Digital Editions software, but now when you download DRM protected PDF files, you can use them as you are accustomed to.
Prof Julie -- Microsoft MVP Mobile Devices -
Why can I view PDF files from the Web on my iMac even after I installed Adobe Reader and accepted the end user license agreement.I then quit the application relaunched it, as instructed snd still the PDF document comes out blank or black. Please advice. Thanks
Chef ReyAre you saying that Adobe Reader or Preview can't read PDF file that you download? Or, are you saying that you can't display PDF files in your Safari broweer? If the latter, then delete any AdobePDFViewer plugins you find in /Library/Internet Plug-ins/ and restart. That should allow Safari to display PDFs in its window. BTW, that's the worst place to view them. Better to download them and use Adobe Reader or Preview.
Maybe you are looking for
-
Hi I have adobe CC for teams, a team member is having problems opening indesign we are being asked for a serial number, ive checked on our admin account and he is one our our registered 'members'. I wasn't the person who set this up originally so I'm
-
I'm trying to build an interactive portfolio for my advertising and marketing website and I'm not much of an ActionScript programmer, so I was wondering if anyone knew of a tutorial out there that might help me. I have searched the internet, far and
-
Sharepoint 2013 master/detail
In a sharepoint 2013 web part, I am planning to have a master/detail association. The master will contain data that does not change where the detail will be data that is entered on a weekly basis. My questions include the following: 1. My fist questi
-
Photoshop / Dreamweaver help
Hi. This is my first post on this forum so first of all Hi. Rite, I'm not a total noob, but im also not the best with either of these pieces of s/w. I enjoy playing about in photo shop, and also dream weaver. I have CS3. As i say I'm not great and i
-
Opatch auto vs. opatch apply?
In the 11g GI PSU 3 I'm looking at, some Cases require "opatch auto" vs. "opatch (n)apply". At our site I've been told "we don't use opatch auto. Only opatch apply." This has been with 10g. We haven't done much patching with 11g, having only gone to