View the pdf file stored in the oracle forms, oracle database

Forms [32 bit] Version 10.1.2.0.2 (Production)
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production
With partitioning, OLAP and Oracle Data Mining options
Release 9.2.0.8.0 - Production jserver
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle V10.1.2.0.2 - Production procedure generator
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Query Oracle 10.1.2.0.2 - Production Designer
Oracle virtual graphics system Version 10.1.2.0.2 (Production)
The GUI tools Oracle Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle tools integration Version 10.1.2.0.2 (Production)
Common tools Oracle area Version 10.1.2.0.2
Oracle 10.1.0.4.0 Production CORE

___________________

I created external directory and can't seem to load pdf files in a table called test_blob oracle database.

CREATE TABLE test_blob)
ID Number (15)
, file_name VARCHAR2 (1000)
image BLOB
, timestamp, DATE
)





I have 2 pdf files in the table. I wish to see this pdf from forms when the user clicks the button. On triggering when key pressed, I want to show the PDF onscreen. Any help is appreciated. Not on the designer. I need to run the application form.



SELECT id, file_name,
DBMS_LOB. Length of GETLENGTH (image),
timestamp
OF test_blob

ID | FILE_NAME | LENGTH | TIMESTAMP
1001 | HeartlandEmployeeReferralCard.pdf|353718|1/28/2013 2011 11:44:41
1002 | HeartlandEmployeeReferralCard.pdf|353718|1/28/2013 2011 11:51:07

Published by: user_anumoses on January 28, 2013 11:45

I had to go back and look at some documentation on our application server. If these steps do not work for you, you may need to click on 'Help' in your business manager and search for 'DADDY' or "Database Access Descriptor".

According to these steps:
1. connect to Oracle Enterprise Manager (http://finserv1:1810) - this would be the name of your server and port
2. click on FIN_Midtier_1.finserv1 - this would be the name of your application server
3. click on HTTP_Server
4. click on Administration
5. click on properties of PL/SQL (link at the top: application server: FIN_Midtier_1.finserv1 > HTTP_Server > mod_plsql Services)
6. scroll the page to the Section of DAD
7. click the Create button (right part of the screen)
8. Select Type of DADDY of the general and click on Next (step 1 of 2)
9. start to fill in the information of connectivity for DAD
10 to precede the name of DAD or a location to a / pls in this example: / pls/findadgen
11. username: enter the user name where the stored procedure (READ_PDF)
12 password: enter the password for the user name that you just entered.
13 Connect String is the database you want the DAD to connect to (the READ_PDF where)
14. the connection string format is: TNSFormat because the connection string is resolved through tnsnames.ora
15 get the language NLS value by running the following query against the schema/database this DAD is to be setup for:

select value, parameter
  from nls_database_parameters
 where parameter in ('NLS_LANGUAGE', 'NLS_TERRITORY','NLS_CHARACTERSET');

VALUE                                      PARAMETER
---------------------------------------- ------------------------------
AMERICAN                                 NLS_LANGUAGE
AMERICA                                  NLS_TERRITORY
WE8ISO8859P1                             NLS_CHARACTERSET

Enter the value in the form: _.< nls_characterset="">
In our example, we have: AMERICAN_AMERICA. WE8ISO8859P1

16. default Page: enter the name of the procedure that will be called if it is not specified in the URL. In our example, we use the name of the procedure: read_pdf
17 Authentication Mode: the default value of Basic
18. then click on Next (step 2 of 4) at the bottom right
19. click on next again (step 3 of 4)
20. click OK (step 4 or 4)
21. your done. Don't forget DAD or any changes made to the DAD will not take effect until the server is restarted. Take the necessary steps to get this done.

We then get an image with the chapters of dads who shows a name or location of/pls/findadgen, the user name, connect the string and status (green arrow - maximum)

Tags: Oracle Development

Similar Questions

  • PDF files in the Oracle database

    First all the Hi and thanks to all the gurus of this forum to provide non-stop services to solve problems at the global level.

    I'm using Oracle Database 11 g - R1 with Oracle Application Express 4.1.

    My clients (end-users) can visit to download PDFs in the database via a built-in Oracle Application Express application.

    All of a sudden ".dmp" size increased rapidly from 360 MB to 2.7 GB and everything that happened due to downloading of PDF files.

    I want to know it's alarming for the Oracle database? Because I'm in doubt, users have a lot of files to download, Services of Oracle database that will / Performance will be disturbed by the increase in the size of the database or Oracle database server could be crushed?


    Please confirm. Thanks in advance.

    Looks: Mohammed Uzair Awan

    Performance may be affected.
    Backup time would increase.
    Backup space (disk / tape) would increase the requirements.

    There should not be a 'crash' of the database
    As you run 11 GR 1 material, I assume that you do not run the Express edition.

    Hemant K Collette

  • Convert flat file to XML document and store it in the Oracle database

    First of all:
    I have a flatfile and created an external table to read this file in Oracle
    Now, I want to create an XML document for each line and insert in the Oracle database, I think as XMLtype.
    Could you please give me some information/steps.

    Second:
    Are there performance issues, because every day, I need to check that the XML document stored in the database against the next file.
    Thank you.

    I won't tell it not in the same words that Marco used, but your solution is impassable and an invitation for bad things to happen.

    Wait miserable performance, and you will not be disappointed.

    The concept of total flexibility works up a code that you depend on has no idea what to do with what is playback.
    Will happen to enough short term and is roughly the equivalent of the absurdity of Java to be independent of the database.

    I would recommend you take the concept and consider, with your data volumes, something more likely to succeed.

  • Target of hyperlink connects since the Outlook file in the Oracle database mail

    Greetings.
    Lack of permissions, I can't create text file on the UNIX server.
    This will not be changed.
    I saved the file in the Oracle 11 g database.

    I want to send e-mail to PL/SQL with attached file.
    No UNIX don't scripts at all.

    It's a big file.
    Thought has crossed my mind.

    Can I send e-mail to PL/SQL with a hyperlink that connects to the file that is stored in the Oracle database?
    The target of the link is a file stored in the Oracle database.

    Did anyone done this before?

    Let me know your ideas.

    Thank you.

    Freq Oracle wrote:

    I want to send e-mail to PL/SQL with attached file.
    No UNIX don't scripts at all.

    Can be done using UTL_SMTP or more recent UTL_MAIL.

    Attachments to emails are just that - the content of the file is attached to the body of the mail. Mail arrives at its destination, the mail reader recognizes the attachment and allows it to be saved to disk (or open/read).

    It's standard stuff... See MIME for more details on how to build a body of message with attachments.

    Can I send e-mail to PL/SQL with a hyperlink that connects to the file that is stored in the Oracle database?
    The target of the link is a file stored in the Oracle database.

    Yes. You need a web server that has been configured with Oracle "+ access +"-the default is using the Apache Oracle server which includes a module called mod_plsql. This module allows the web browser to use a URL that refers to a procedure from PL/SQL web enabled in a specific database schema - and pass parameters (as part of the URL query string) to the proceedings.

    You can also use Oracle EPG (Extended procedure gateway according to me, is what does the acronym). This provides a web server directly within the Oracle instance using Oracle XDB (integrated database of XML). It also has a module of type mod_plsql which provides that a web interface (via http) enabled PL/SQL procedures.

    This procedure can be a procedure "+ document download. Oracle provides a system procedure called WPG_DOCLOAD.download_file ()+ you can use inside this active web PL/SQL procedure. This will return the contents of the blob/clob as a 'file' in the web browser.

    For example, a download web-enabled simplistic procedure will look something like this:

    create or replace procedure downloadFile( fileName varchar2 ) is
            b       blob;
            mimeType varchar2(50);
    begin
            select
                file_content, mime_type  into b, mimeType
            from my_documents where file_name = fileName;
    
            OWA_UTIL.mime_header( mimeType, false );
            HTP.p('Content-Length: ' || DBMS_LOB.getlength(b));
            OWA_UTIL.http_header_close;
            WPG_DOCLOAD.download_file( b );
    end;
    

    The URL will look like this:

    http://my-webserver.my-domain.com:7777/pls/ora/scott.downloadfile?filename=somefile.doc
    

    where:
    Scott.DownloadFile = name of the PL/SQL procedure
    filename = somefile.doc = name values of the parameter to pass to the procedure

  • How to insert vidio file in the oracle database

    Hi Experts,

    Can you please tell me, how to insert video in the oracle database.
    and what are the formats it supports.

    Thanks in advance,
    Sanjeev,

    To do this, you don't need an expert, you only need the capacity and the ability to googleor search this forum.
    This question was asked here several times by people who, like you, have refused to use online resources.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • PDF files stored on my hard disk drive won't open

    I can't open any PDF files that are stored on my hard drive.  I can open any PDF files stored online.  I uninstalled Adobe Reader and reinstalled the latest version.  Always without success. When I try to open a PDF file that is stored on my hard drive, it tries to open it in Word 2010 (this used to work), but now I get an error message that says: select the encoding that makes your document readable.  The 3 choices are: Windows (default), MS-DOS, another encoding.  I tried them all without success.  Help please!

    Right-click on the PDF file.
    Select: Open with on the shortcut menu.
    Click: Choose [default] program.
    Letter: Adobe Reader.
    Check: Always use the selected program to open this type of file.
    Click OK.
  • Acrobat Pro XI freezes after 60 seconds to view a PDF file

    When opening and view a PDF file in Acrobat Pro XI he will freeze and 'unresponsive' after about 60 seconds. Type and size of the PDF don't matter.

    Hello

    Could you please tell the operating system, you are working on?

    Do you feel it work with all the PDF' or ' with specific model?

    Only the PDF freezes or when you launch Acrobat, only freezes as well?

    If you're windows, I recommend you to repair the Installation of Acrobat if possible.

    Launch Acrobat (not PDF) > Navigate to Help > repair the Installation of Acrobat.

    Hope this will fix.

    Concerning

    Sukrit diallo

  • IE 8 - you try to view a PDF file in Acrobat Reader external aid

    Running the version 4.6.2 - 467908 and TA'd IE 8 on a clean XP SP3 with FLash and Schockwave (pretty basic) and it works fine. However, when I try to view a PDF file (I have Acrobat Reader X installed) I get a gray screen, acrord32.exe runs in memory and eventually I get a message from reader, which indicates that there was a problem with the drive and I need to go out and try and again.  In the native browser (ie6), it works fine.

    I made sure the Cache Internet % shall be merged and other messages, I put ChildProcessEnvironmentDefault = external.

    Any thoughts? I've seen other posts where it works and I don't want to capture reader with IE.

    Thank you.

    Theoretically, the construction can be performed anywhere that ThinApp is installed.  All our versions are running on a Windows 2008 Server, but the captures are made on XP, Vista and 7.

    Regarding the list of parameters, I mentioned, there are two approaches: all, with exceptions, internalize or outsource everything.  In the example you provide, you have chosen to outsource everything.  In the syntax that I provided, the default is to stay in-house, but with exceptions.  This syntax works in our environment, but the configuration of your system may be different.  I went this route because I knew I'd need PDF look at one at work, and I didn't disable the Safe_mode in Acrobat.

  • How to put interactive 360 views in PDF files

    Were sent to a PDF with multiple 360 inactive views in PDF files. The content does not resemble a swf file is - anyone know how this was achieved

    The files is great and comes from an architect if that helps

    The only options for a viewer of 360 degrees in PDF files are an application SWF or a 3D model with the image inside a sphere. Right-click on the content and see what the menu, if it's a 3D scene there will be a lot of additional tools.

  • What is the name of the table that has the name of the custom in the Oracle database Section?

    What is the name of the table that has the name of the custom in the Oracle database Section?

    Thank you

    Nefertari

    The names of the custom Sections are stored in commonExtendedAttributeML, the extended attribute table.

  • How to store images in the oracle database and get back on a jsff page in ADF?

    Mr President.

    How to store images in the oracle database and get back on a jsff page in ADF?

    I have students and employees in my database and want to store their pictures against their ID.

    How to do this?

    Concerning

    Tender,

    You can check the links that explain this below.

    https://tompeez.WordPress.com/2011/11/26/jdev11-1-2-1-0-handling-imagesfiles-in-ADF-part-2/

    Johny tips: ADF: display image files from database as a popup in Application Web ADF

    See you soon

    AJ

  • The Oracle database is free for individuals?

    Is the Oracle database free for private developers, just test the database, or what I personally contact them in order to pay them? Only, I went to the page of download of Oracle and downloaded 2 pcs. Installation of 1 GB, installed files database on my Windows 7 computer and then started using it.

    Have you paid attention to the license agreement you agreed before downloading software? Restrictions on use are clearly stated.

    Oracle Technology Network Developer for Oracle Database 11g Express Edition license terms

    The limits for 11g XE are also documented-

    Oracle & reg; Database Express Edition

    Oracle & reg; Database Express Edition

    HTH
    Srini

  • How to find this value in the oracle database to find out the table

    Hi expert,

    I know there is a value in the oracle database, please show me how to find this value in the oracle database to find out the table that contains this value.

    Thank you very much

    918440 wrote:
    Hi expert,

    I know there is a value in the oracle database, please show me how to find this value in the oracle database to find out the table that contains this value.

    Thank you very much

    Go to the online documentation and discover the data dictionary. You may be interested in reading about ALL_TAB_COLUMNS, but you will need to know what you want until you can query the view to find information

  • How to clean the Oracle database?

    Dear gurus and DBA. My company wants to give old computer at the local school. We have the Oracle database on this server. My boss want to make sure that the school not getting all the Oracle data. Some data bank is and must be a secret. The Bank's major customer and so exposed information, it means big problem for us. Ideas you might have appreicated. Thank you.

    >

    Hi Rajiv,

    Dear gurus and DBA. My company wants to give old computer at the local school.
    We have the Oracle database on this server. My boss want to make sure that the school
    not all Oracle data. Some data bank is and must be a secret.
    The Bank's major customer and so exposed information, it means big problem for us.
    Ideas you might have appreicated. Thank you.

    DBAN is your man - even not God could get information about a Dban disk ' ed - get it [url http://www.dban.org/] here.

    I have some work for a charity that sends computers in East Africa a few years ago.
    These PC came from banks, insurance companies, lawyers & law firms - a lot of
    potentially sensitive data. Much of the company to simply delete the
    files, which, as we all know is not really effective.

    The first thing we did with each machine was Dban them - no work allowed the
    any PC until it had a sticker of Dban top. Never had any problems.

    HTH,

    Paul...

    Published by: Paulie July 22, 2012 00:26

    Published by: Paulie July 22, 2012 00:27

  • The upgrade of the Oracle Database 11g while maintaining the forms on 10g

    Hello
    I am relatively new to the oracle application servers and forms.

    In my view, it is possible to upgrade the database to 11g but let application servers and forms on 10g. I can't find it mentioned explicitly in documentation, but she seems to be involved.

    Someone at - it encountered problems with the database running on 11 g and leaving forms, application, the interfaces running on 10 g servers.

    Thank you
    Jim

    Salvation;

    Your question and answer is Yes,

    See the link below:
    http://www.Oracle.com/technetwork/middleware/IAS/downloads/as-certification-R2-101202-095871.html#BAJGCBEA

    Which is mention below notes:

    All editions of Oracle Database 11 g (11.1.0.6) or more are supported. Please refer to Metalink Note 740417.1 for more information on the Oracle Database 11 g 1 material Certification for Oracle Application Server 10 g (10.1.2.x), and Metalink Note 887365.1 for more information about the database Oracle 11 GR 2 Certification for Oracle Application Server 10 g (10.1.2.x).

    Respect of
    HELIOS

  • Loading data to SQL server for the Oracle database

    I want to create a table in oracle db table in sql server. Table is huge that he has obtained the documents 97,456,789.
    I created the link (HS) db in the oracle database that points to the sql server. I choose this oracle db on the link table.

    Select * from 'dbo '. "T1@dblink;

    I shot below to create the table.
    create table t2 nologging parallel (degree = 3) as select * from 'dbo '. "T1@dblink;
    and its taking a long time... but its operation...

    is there any other method to do this and and fill the table in oracle db faster.

    Please notify. Thank you.

    vhiware wrote:
    create table t2 nologging parallel (degree = 3) as select * from 'dbo '. "T1@dblink;
    and its taking a long time... but its operation...

    I doubt that parallel processing will be used because it is unique to Oracle (using rowid varies in general) and not SQL-Server.

    is there any other method to do this and and fill the table in oracle db faster.

    Part of the performance overhead is to pull that data from SQL Server to Oracle in the whole of the liaison network between them. This can be accelerated by compressing the data first - and who then transfer them over the network.

    For example: using + bcp + to export the data in the SQL Server box to a CSV file, compress/zip file, scp/sftp file Oracle and then to unzip there. In parallel and direct treatment of load can now be done using SQL * Loader to load the CSV file into Oracle.

    If it is a basic Linux/Unix system, the process of decompression/unzip can be run in parallel with the SQL * process Loader by creating a pipe between the two – where the decompression process writes data uncompressed in the pipe and SQL * Loader reads and loads the data that is available through the pipe.

    Otherwise you are PQ own transformation. Assume that the data is date varies. You can create a procedure on Oracle that looks like this:
    {code}
    create or replace procedure as copyday (day) is
    Start
    Insert / * + append * / into local_tab select * from remote_tab@remotedb where col_day = day;
    -Add logging info, validation, etc.
    end;
    {code}

    You can now start 10 or more of these different days and run it in the background using DBMS_JOB.

Maybe you are looking for