Display BLOB objects (doc, pdf, jpg, etc) in Browser
Hello.
I need help retrieving BLOBs from my DB and displaying them on a browser using Java (or JSP). The BLOB can contain any types of file form (such as pdf, doc, xls, jpeg,etc).
null
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by LP:
Hello.
I need help retrieving BLOBs from my DB and displaying them on a browser using Java (or JSP). The BLOB can contain any types of file form (such as pdf, doc, xls, jpeg,etc).
<HR></BLOCKQUOTE>
null
Similar Messages
-
I don't know how, in java, to write files that are not pure text. I've been using the BufferedReader/Writer but it is not working. Can someone give me some sample code of how I can write file data correctly?
First of all, if you aren't writing text then you shouldn't be using a Writer at all, you should be using an OutputStream. Writers deal with characters, OutputStreams deal with bytes. Second, the hard part of outputting those files is that you have to understand that they each have a defined structure you have to follow. For example, you can find a document that describes how a PDF file must be structured on Adobe's site. (Before you go searching for it, I'll just mention that it is over 500 pages long.) You have to write out bytes that satisfy the rules for the file type and arrange the content within those rules.
-
Hi,
I want to display blob file from de DB to the browser, but when I click on the link of the document I want to open, nothing append. If I check the length of the file it is correct. I tried to write it in a directory to see what appends. I can only write txt file. The other files are corrupted.
I did something like in the topik 532271.
Did I do something wrong ? Do I have to write some code in the web.xml ?
Here is my code :
public DataOutputStream showBlob() throws SQLException, IOException{
//it is my class not those from java.io
File file = (File) this.getFiles().getRowData();
FacesContext faces = FacesContext.getCurrentInstance();
HttpServletResponse resp = (HttpServletResponse)faces.getExternalContext().getResponse();
Blob b = file.getBlob();
int len = 0;
InputStream is = b.getBinaryStream();
long length = b.length();
byte[] x = new byte[10240];
resp.setHeader("Content-Disposition","filename=\"" + file.getFileName() + "\"");
resp.setContentType(file.getMimeType().getMime());
resp.setContentLength((int)length);
DataOutputStream o = new DataOutputStream(resp.getOutputStream());
while ( (len = is.read(x)) != -1)
o.write(x, 0, len);
o.flush();
o.close();
is.close();
faces.responseComplete();
return o;
In my xhtml page I have :
<ice:commandLink id="downloadLink"
action="#{managerBean.layoutManager.ediTraining.showBlob}"
value="#{file.fileName}" target="_blank">
</ice:commandLink>
Thank you for your response.
Edited by: joce77 on Nov 12, 2007 7:39 AMHi BalusC,
I did what you explant on this page http://balusc.blogspot.com/2007/07/fileservlet.html whit "FileServlet serving from database".
When I clik on the link I got an empty page with this html code :
<iframe id="history-frame" src="/uniform/xmlhttp/blank" style="z-index: 10000; visibility: hidden; width: 0pt; height: 0pt; position: absolute; opacity: 0.22;" title="Icefaces Redirect" frameborder="0"></iframe>
<script id="dynamic-code" language="javascript"></script>
<script id="focus-code"></script>
<script id="select-code"></script>
<script id="click-code"></script>
<script id="configuration-script" language="javascript">window.session='YXtNt2XZnElULb3t0j_7BQ';
document.getElementById('configuration-script').parentNode.viewIdentifier=1;
if (!window.views) window.views = []; window.views.push(1);
window.configuration = {synchronous: false,redirectURI: null,connection: {context: '/uniform/',timeout: 30000,heartbeat: {interval: 20000,timeout: 3000,retries: 3}}};
</script>
Any idea ?
Thanks -
Display blob content as pdf file
Dear Expert,
Currently i'm using oracle apex 3.0.1.
I'm having a problem on displaying blob content (from database table) as pdf file on oracle application express but i'm able to save to download the pdf.
Below is the procedure that i used to display blob content,
PROCEDURE lf_html_pdf (pv_image IN VARCHAR2, pv_index IN NUMBER) is
l_mime VARCHAR2 (255);
l_length NUMBER;
l_file_name VARCHAR2 (2000);
lob_loc BLOB;
BEGIN
begin
selecT OI_BLOB,DBMS_LOB.getlength (OI_BLOB)
into lob_loc,l_length
from ord_img
where oi_tno= pv_image
and oi_ti='PDF'
and oi_idx=pv_index;
exception
when others then
null;
end;
OWA_UTIL.mime_header (NVL (l_mime, 'application/pdf'), FALSE);
HTP.p ('Content-length: ' || l_length);
OWA_UTIL.http_header_close;
WPG_DOCLOAD.download_file (lob_loc);
END lf_html_pdf;
I get the error message as below when i execute the procedure above;
Error report:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.OWA_UTIL", line 356
ORA-06512: at "SYS.OWA_UTIL", line 415
ORA-06512: at "HCLABPRO.PKG_PDF", line 220
ORA-06512: at line 2
*06502. 00000 - "PL/SQL: numeric or value error%s"*
I'm appreciated if expert can have me on the problem above?
Thanks
From junior*Always post code wrapped in <a href=http://wikis.sun.com/display/Forums/Forums+FAQ#ForumsFAQ-Arethereanyusefulformattingoptionsnotshownonthesidebar?"><tt>\...\</tt> tags</a>:*
PROCEDURE lf_html_pdf (pv_image IN VARCHAR2, pv_index IN NUMBER) is
l_mime VARCHAR2 (255);
l_length NUMBER;
l_file_name VARCHAR2 (2000);
lob_loc BLOB;
BEGIN
begin
selecT OI_BLOB,DBMS_LOB.getlength (OI_BLOB)
into lob_loc,l_length
from ord_img
where oi_tno= pv_image
and oi_ti='PDF'
and oi_idx=pv_index;
exception
when others then
null;
end;
OWA_UTIL.mime_header (NVL (l_mime, 'application/pdf'), FALSE);
HTP.p ('Content-length: ' || l_length);
OWA_UTIL.http_header_close;
WPG_DOCLOAD.download_file (lob_loc);
END lf_html_pdf; Start by getting rid of:
exception
when others then
null;and never using it anywhere ever again.
If you're not actually going to use the <tt>l_mime</tt> and <tt>l_file_name</tt> variables then remove these as well. (Although I really think you should set a filename.)
>
Error report:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.OWA_UTIL", line 356
ORA-06512: at "SYS.OWA_UTIL", line 415
ORA-06512: at "HCLABPRO.PKG_PDF", line 220
ORA-06512: at line 2
06502. 00000 - "PL/SQL: numeric or value error%s"
>
The error stack indicates that the exception is being raised in <tt>HCLABPRO.PKG_PDF</tt>: what is <tt>HCLABPRO.PKG_PDF</tt>? Does this actually have anything to do with the procedure above?
I get the error message as below when i execute the procedure above;How do you execute it?
What happens when it's executed without the <tt>when others...</tt> built-in bug? -
Insert doc/pdf/jpg into BLOB using forms (web based)
Hi All,
we have 81741 db on window2000(data server), forms6.0.8.20.1 on windows2000(webserver)
& users using IE6/netscape as setup. User wants to store a pdf/doc/jpg file (stored on his PC)
into database.
He wants ability to view this pdf/doc/jpg later & have ability to download again to his pc. Please note
that we have web based setup & not using HTTP server (using WebDB listener).
I am planning to use BLOB to store the table in database, but cannot figure out what/how to force forms
to do this.
If someone has done this before, could you please update this thread on how to proceed.
Thanks a lot for your input...
Abhi.AS far as inserting images you can use the image item in Oracle Forms and base it on a blob column in the database.
Regarding the other types of data you can upload them to the database using a Java function on the application server (use the java importer from Forms to call the Java class). You can use another Java function to retrieve the info from the database to the application server, and then use web.show_document to get the file from the application server to the client.
Or you can wait a few weeks for the Webutil utility that will have this functunality built into it. -
Link or display Dokuments in the Dashboard (pdf, jpg, etc.)
Hi together,
we would like to store documents which should be displayed or linked in Oracle BI Dashboard.
What's the best place to store such documents. We tried to store the documents below oracle/product/OracleBI/web/app/res.
It works, but in this case there is no security and everybody who knows the linke is able to display these documents.
And where do you store such documents?
Regards,
Stefan Hess
Oracle BI 10g
Edited by: stefanhess on Jun 20, 2011 4:21 PMHi stefanhess,
In any folder people will be able to access the documents if they know where they are. In this case, you put the documents in an oracle path, which for sure is in a server with security. When you place this in a dashboard, the dashboad itself is protected with user/password credential. So the security is at the user level, not at the document level.
If you want to have security at the pdf level, you should protect the pdf with a password (this is a pdf funcionality, not obiee).
J -
Display blob field on pdf with pl_fpdf
Hi All,
I wish I could use some method to output PDF from the PL/SQL. I already have a document (image stored as BLOB). Now, I need to output this image in PDF. I know doing this outside database is easy and advisable.
When I use pl_fpdf with image from url it work fine but when i want to display the image from blob I have this error:
ORA-20100: <B>PL_FPDF error: </B>image : ORA-20100: <B>PL_FPDF error: </B>p_parseImage : ORA-20100: <B>PL_FPDF error: </B>pl_fpdf.getImageFromUrl :ORA-31001: Invalid resource handle or path name "https://intranet.momentumtechnologies.ca/pls/prod_intranet/MOM_HTMLDB.PRC_AFFCH_IMAGE_DIVSN?P_IDE_DIVSN=0", image :https://intranet.momentumtechnologies.ca/pls/prod_intranet/MOM_HTMLDB.PRC_AFFCH_IMAGE_DIVSN?P_IDE_DIVSN=0
+ Erreur Echec impression+
I run this using Oracle APEX
Database: Oracle 9.2 running in Windows server.
Thanks in advance.
hakimHi, thanks for replay; I use the package : PL_FPDF it is a free product and it work fine
but when I give an other url it work, and I have the image in my PDF.
I have the 02 examples to explain this situation.
declare
img varchar2(255);
Begin
img:='http://www.lcw-design.com/jpgAutoc/sigle1.jpg'; I display it in my browser it is public
pl_fpdf.image (img ,30,35,225,150,'JPEG'); --it works
end;
succes
Begin
img:='https://intranet.momentumtechnologies.ca/pls/prod_intranet/MOM_HTMLDB.PRC_AFFCH_IMAGE_DIVSN?P_IDE_DIVSN=0'; I display it in my browser it is public
pl_fodf.image (img ,30,35,225,150,'JPEG'); --it does not work works
end;
not succes;
ORA-20100: <B>PL_FPDF error: </B>image : ORA-20100: <B>PL_FPDF error: </B>p_parseImage : ORA-20100: <B>PL_FPDF error: </B>pl_fpdf.getImageFromUrl :Je suis ici pour vousORA-31001: Invalid resource handle or path name "https://intranet.momentumtechnologies.ca/pls/prod_intranet/MOM_HTMLDB.PRC_AFFCH_IMAGE_DIVSN?P_IDE_DIVSN=0", image :https://intranet.momentumtechnologies.ca/pls/prod_intranet/MOM_HTMLDB.PRC_AFFCH_IMAGE_DIVSN?P_IDE_DIVSN=0* -
I have to re do a keynote presentation for powerpoint -- the export feature won't work on the pc -- it simply says that it wasn't possible to display some of the text and objects because they had become corrupted, and were replaced with blank slides. I was wondering if it's possible to find out the names of the objects used in the presentation. That way I could save them to a folder and just paste them in to the PPT version on the PC. I know they have to be somewhere on the Mac that the presentation was made on, so is it also possible to find out where they would be?
I tried right clicking on the objects in the slide, but there was no 'get info' option, like there is in a finder window. Please help if you can.
ChrisThere are a few options for you here. In the Inspector>Metrics Tab, when you click on the picture, it will display the name. Then you can use the find feature of the Finder to locate the picture. If you have Keynote set to save files as Packages, you can right click the file in the Finder (or control click) and then select Show Package Content. This will show you all the files that make up your Keynote and you can copy the pictures out of there into a new folder. Finally, if you can't find them any other way, you can select and copy the picture in Keynote, then open Preview and command-n (or File Menu>New from Clipboard) and then save the file to where ever you want so you can find it.
-
Displaying Blob Objects In A Report
Does anyone know how to generate a report in Portal that displays gif images which are saved in my database as a BLOB type in a simple report? I would like the report to display the images from this table at least 20 images per page and then allow the user to click next for the next 20. I was able to do this using a dynamic html portlet. But this required too much coding. Just curious if there was an easier way. Any help on this would be appreciated.
http://oracle.com/forums/thread.jsp?forum=7&thread=184943&message=486380
-
Displaying Javascript console when PDF embedded in web browser?
How do you debug Acrobat Javascript when running in the browser context (i.e. PDF is embedded in a web page via the object tag)? I can't get the console to display even when the script says console.show(). Is this possible? Given that the browser context allows different features I would say this is a very important feature to have.
ThanksThanks Dimitri. Does it have to be Acrobat rather than Adobe Reader?
I tried this with Adobe Reader open in the background. It doesn't support ctrl + J but I forced it to open the console by:
1) adding debugger.js to my Javascript folder
2) opening a PDF that had some document level Javascript that had console.show();
The console displayed but was not written to by the PDF in the browser. -
How can i retrieve documents(e.g .doc,.pdf, .txt etc) using forms from the database.
i inserted the documents using sql*loader, below is the control and data files.
-- control file
LOAD DATA
infile 'load.txt'
INTO TABLE husman
APPEND
FIELDS TERMINATED BY ','
(id integer external,
fname FILLER CHAR(50),
docu LOBFILE(fname) TERMINATED BY EOF)
--data file
1,../husman/dell.doc,
2,../husman/me.pdf,
3,../husman/export.txt,
in the form i have a text field to display the id and an OLE container to display the document as an icon. but when i execute query, i only get the id number and not the document.
any help will be appreciated.
Thanks
Hussein SaigerStep by step
1. Erase all contents and settings
2. You'll be asked twice to confirm
3. You'll see Apple logo and progress bar
4. You'll see a big iPad logo on screen
5. Configuration start
6. Set language
7. Set country
8. Enable Location Service
9. Select network, enter password and join network
10. You'll be given 3 options (a) Setup as New iPad (b) Restore from iCloud Backup (c) Restore from iTune Backup
11. Selected Restore from iCloud Backup
12. You'll be required to enter Apple ID and Password
13. Agree to Terms and Conditions
14. Select Backup file
15. You'll see progress bar
16. Red slider will appear; slide to unlock; step #1 to #16 is fast
17. Pre-installed apps will be restored first
18. Message: Purchased apps and media will now be automatically downloaded
19. You'll see a pageful of apps with Waiting/Loading/Installing
20. Message: Some apps cannot be downloaded, please sync with computer -
Hello,
The user needs to save the Documents, other than text type(for eg. .doc, .pdf, .xls etc) thru Queries in Bex/Web for the Info-objects etc. in the Query, in the same way as he is able to do thru RSA1->Docuemnts.
For the moment the user can create/edit Text documents only thru the "Additional Function->Create new Document". How do we give the provision that user can store file of any type.
Thanks and Regards,
SumitaHi Sumita,
I hope this link may help you.
http://bwexpertonline.com/archive/Volume_02_(2004)/Issue_05_(May)/V2I5A1.cfm?session=
Thanks and Regards,
Ravi -
Displaying BLOB of type word doc in XML Publisher pdf output
Hi all,
Please guide me relating the Displaying BLOB of type word doc in XML Publisher pdf output with links or pointers.In the following xml column TRADE_LICENSE_COPY is BLOB when queried from toad and if clicked on the ouput word doc is being opened directly.How to show the column value word doc as attachment in pdf output?
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Oracle Reports version 10.1.2.3.0 -->
<XXTDIC_SUP_REG>
<LIST_G_BASIC_QUSNRY>
<G_BASIC_QUSNRY>
<RESPONSE_ID>194</RESPONSE_ID>
<UAE_REGISTRATION>Yes</UAE_REGISTRATION>
<TRADE_LICENSE_COPY>PK</TRADE_LICENSE_COPY>
<WEBSITE_DETAILS>com</WEBSITE_DETAILS>
<AMERICA_2009_2010>Between 81 and 90 %</AMERICA_2009_2010>
</G_BASIC_QUSNRY>
</LIST_G_BASIC_QUSNRY>
<LIST_G_CONTACTS>
<G_CONTACTS>
<CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
<PHONE_NUMBER>0</PHONE_NUMBER>
<EMAIL_ID>na</EMAIL_ID>
<FAX_NUMBER>0</FAX_NUMBER>
</G_CONTACTS>
<G_CONTACTS>
<CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
<PHONE_NUMBER>0</PHONE_NUMBER>
<EMAIL_ID>na</EMAIL_ID>
<FAX_NUMBER>-</FAX_NUMBER>
</G_CONTACTS>
</LIST_G_CONTACTS>
<LIST_G_SC_QUSNRY>
<G_SC_QUSNRY>
<RESPONSE_ID1>113</RESPONSE_ID1>
<FY3_PROJTYPE_COMMERCIAL>Between 21 and 30 %</FY3_PROJTYPE_COMMERCIAL>
<ENG_INSTALL_CAPABILITY></ENG_INSTALL_CAPABILITY>
<SCM_EXPERIENCE_PARTNERING>Have you had experience of "Partnering"?(i.e with major contracts / employers If so list them.Also please provide details</SCM_EXPERIENCE_PARTNERING>
</G_SC_QUSNRY>
</LIST_G_SC_QUSNRY>
<LIST_G_ADDRESS>
<G_ADDRESS>
<OFFICE_ADDRESS>Addres1</OFFICE_ADDRESS>
<ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
<ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
<ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
<CITY>City1</CITY>
<STATE>State1</STATE>
<COUNTRY>US</COUNTRY>
</G_ADDRESS>
<G_ADDRESS>
<OFFICE_ADDRESS>Addres2</OFFICE_ADDRESS>
<ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
<ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
<ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
<CITY>City2</CITY>
<STATE>State2</STATE>
<COUNTRY>IN</COUNTRY>
</G_ADDRESS>
</LIST_G_ADDRESS>
<LIST_G_DSN_QUSNRY>
</LIST_G_DSN_QUSNRY>
<LIST_G_PROD_SUB_CODE>
<G_PROD_SUB_CODE>
<PROD_SUB_CODE>060.42</PROD_SUB_CODE>
<PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Filters: Air, Fuel, Oil, Power Steering, Transmission and Water, and PCV Valves</PROD_SUB_DESC>
</G_PROD_SUB_CODE>
<G_PROD_SUB_CODE>
<PROD_SUB_CODE>060.60</PROD_SUB_CODE>
<PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Hose and Hose Fittings: Brake, Heater, Radiator, Vacuum, Washer, Wiper, etc.</PROD_SUB_DESC>
</G_PROD_SUB_CODE>
<G_PROD_SUB_CODE>
<PROD_SUB_CODE>207.37</PROD_SUB_CODE>
<PROD_SUB_DESC>Computer Accessories and Supplies.CRT Holders, Cases, Glare Screens, Locks, etc.</PROD_SUB_DESC>
</G_PROD_SUB_CODE>
<G_PROD_SUB_CODE>
<PROD_SUB_CODE>207.60</PROD_SUB_CODE>
<PROD_SUB_DESC>Computer Accessories and Supplies.Keyboard Dust Covers, Key Top Covers, Keyboard Drawers, Wrist Supports, etc.</PROD_SUB_DESC>
</G_PROD_SUB_CODE>
</LIST_G_PROD_SUB_CODE>
<LIST_G_CONT_QUSNRY>
</LIST_G_CONT_QUSNRY>
<LIST_G_BUSS_CLASS>
<G_BUSS_CLASS>
<BUSS_CLASS>SUPPLY_CHAIN</BUSS_CLASS>
</G_BUSS_CLASS>
</LIST_G_BUSS_CLASS>
<CF_SUPPLIER_NAME>N1</CF_SUPPLIER_NAME>
<CF_REG_STATUS>Draft</CF_REG_STATUS>
<CF_BUS_CLASS></CF_BUS_CLASS>
<CF_PROD_SUBCODE>060.36</CF_PROD_SUBCODE>
<CF_PROD_SUBCODE_MEAN>Automotive Maintenance Items and Repair/Replacement Parts.Electrical Accessories: Alternators, Ammeters, Coils, Distributors, Generators, Regulators, Starters, etc.</CF_PROD_SUBCODE_MEAN>
<CF_COUNTRY>India</CF_COUNTRY>
</XXTDIC_SUP_REG>
Thanks in advance.
Best Regards,
MahiMahi,
you can't do that yet. -
How to read doc/docx/pdf/jpg files in objective-c?
Hi am new to objective-c,here want to read the files from the directory i know how to read the text file but what i need is to read the doc/docx/pdf/jpg files to read,i don't know how to read these files in objective-c if anyone knows about this please help me,
thanks in advance.The same way. You will get a load of binary idata, and you have to handle that yourself. .. What, are you expecting libraries to read and somehow convert a .docx document to your taste? You need to look up what 'file format' means.
(Oh alright, there /may/ be a standardized way in OS X to read a jpg and convert it into something OS X can use without you having to know the specifics.) -
Hi, I have a problem with filtering binary documents (.doc, .pdf, etc...). I use SQL*PLUS for remote access to Oracle 10.2 on Linux and I create table:
CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
I insert to this table:
INSERT into test values(1, 'PATH/text1.doc‘);
INSERT into test values(2,'PATH/text2.doc‘);
and then:
CREATE INDEX test_index ON test(text) indextype is ctxsys.context
parameters (’datastore ctxsys.file_datastore
filter ctxsys.auto_filter’);
Message "Index created" is displayed, but objects: DR$test_index$I, DR$test_index$K, DR$test_index$N, DR$test_index$R and DR$test_index$P are empty => index wasn´t created probably.
I don´t know, where is bug, either bug is somewhere in this code or on the server (wrong installation oracle or constraint privileges). Do you know in what is bug?The following is an excerpt from the 10g online documentation. Note the items that I have put in bold.
"FILE_DATASTORE
The FILE_DATASTORE type is used for text stored in files accessed through the local file system.
Note:
FILE_DATASTORE may not work with certain types of remote mounted file systems.
FILE_DATASTORE has the following attribute(s):
Table 2-4 FILE_DATASTORE Attributes
Attribute Attribute Value
path path1:path2:pathn
path
Specify the full directory path name of the files stored externally in a file system. When you specify the full directory path as such, you need only include file names in your text column.
You can specify multiple paths for path, with each path separated by a colon (:) on UNIX and semicolon(;) on Windows. File names are stored in the text column in the text table.
If you do not specify a path for external files with this attribute, Oracle Text requires that the path be included in the file names stored in the text column.
PATH Attribute Limitations
The PATH attribute has the following limitations:
If you specify a PATH attribute, you can only use a simple filename in the indexed column. You cannot combine the PATH attribute with a path as part of the filename. If the files exist in multiple folders or directories, you must leave the PATH attribute unset, and include the full file name, with PATH, in the indexed column.
On Windows systems, the files must be located on a local drive. They cannot be on a remote drive, whether the remote drive is mapped to a local drive letter."
With accessible paths and files, you get something like:
SCOTT@orcl_11g> CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
Table created.
SCOTT@orcl_11g>
SCOTT@orcl_11g>
SCOTT@orcl_11g> INSERT into test values(1,'c:\oracle11g\banana.pdf');
1 row created.
SCOTT@orcl_11g> INSERT into test values(2,'c:\oracle11g\cranberry.pdf');
1 row created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> CREATE INDEX test_index ON test(text) indextype is ctxsys.context
2 parameters ('datastore ctxsys.file_datastore
3 filter ctxsys.auto_filter');
Index created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> select count(*) from dr$test_index$i
2 /
COUNT(*)
608
SCOTT@orcl_11g> In the following, I used a non-existent path and non-existent file name, which produces the same results as when you use a remote path that does not exist locally.
SCOTT@orcl_11g> CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
Table created.
SCOTT@orcl_11g>
SCOTT@orcl_11g>
SCOTT@orcl_11g> INSERT into test values(3,'c:\nosuchpath\nosuchfile.pdf');
1 row created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> CREATE INDEX test_index ON test(text) indextype is ctxsys.context
2 parameters ('datastore ctxsys.file_datastore
3 filter ctxsys.auto_filter');
Index created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> select count(*) from dr$test_index$i
2 /
COUNT(*)
0
SCOTT@orcl_11g>
Maybe you are looking for
-
Sorry a serious error has occured PE3
I can't get past this message when I either open a new project or a previous one. I have installed the update 3.02 as listed in the PE3 quick tips. The full message continues......that requires PE to shut down. We will attempt to save the current pro
-
I changed the location of my TM (and my modem) My back up has repeatedly said "backup failed". Trying to exit from my asigned disk and re-boot required a password. I have tried many that I have used but w.o. success. Where do I go from here?
-
Help with PageMaker 7.0, Transparent Backgrounds, and Feathering in Photoshop CS5
Hi all, I am hoping someone here can help me out with a problem that I've been having for more than a week that I can't seem to figure out and it's driving me crazy. I have a friend who's trying to put together a graphical instruction manual usin
-
Using third party jdbc drivers in Portal server
I have an application that runs inside the WebLogic Portal server. The portal server is configured to work with Oracle using the default oracle driver that comes with weblogic. My application, however, also needs to connect to a database. I am using
-
Revision: 3890 Author: [email protected] Date: 2008-10-24 15:24:17 -0700 (Fri, 24 Oct 2008) Log Message: Various renames for FxComponent, mostly based on PARB recommendations. Most were just simple name changes or removal of methods. Because commitSk