How to show BLOB type Column ? In XE

How to show BLOB type Column as image in APEX report area? (In XE)
I did it with the following procedure
create or replace PROCEDURE MY_IMAGE_DISPLAY (p_image_id IN NUMBER)
AS
l_mime VARCHAR2 (255);
l_length NUMBER;
l_file_name VARCHAR2 (2000);
lob_loc BLOB;
BEGIN
SELECT 'JPEG', MLOGO, 'IMAGE', DBMS_LOB.getlength (MLOGO)
INTO l_mime, lob_loc, l_file_name, l_length
FROM CARS_TABLE
WHERE M_ID = p_image_id;
OWA_UTIL.mime_header (NVL (l_mime, 'application/octet'), FALSE);
HTP.p ('Content-length: ' || l_length);
OWA_UTIL.http_header_close;
WPG_DOCLOAD.download_file (lob_loc);
END my_image_display;
GRANT EXECUTE ON my_image_display TO PUBLIC;
and executed the following command
CREATE PUBLIC SYNONYM my_image_display FOR shema_name.my_image_display;
but under XE , I can not see synonym? why?

sakrami,
Your question really belongs in the XE forum:
Oracle Database Express Edition (XE)
I think this posting addresses your question:
Re: Handling of pictures changed? Item values not properly updated in Beta
Joel

Similar Messages

  • How to show Primary_key in Column Tab - Oracle SQL Developer 2.1.1.64

    How to show Primary_key in Column Tab or It bug? i can not see. thank you for answer.

    This was removed for performance reasons, but a lot of us asked for it to go back in.
    Don't know if it is currently planned, so better request this at the SQL Developer Exchange, so other users can vote and add weight for possible sooner implementation.
    Regards,
    K.

  • How to test BLOB Table Column in BCBrowser??

    Hi,
    My requirement is to upload a file(pdf,doc,jpg, txt) into DB using ADF.
    I use, Jdev 11.1.1.6, Oracle 10g XE.
    For this, I created the following
    1. A table as MyFilesTab(ID Number, FileName Varchar2(80), File BLOB)
    2. An Entity Object MyFilesEO on MyFilesTab.
    3. Generated a default view object: MyFilesVO
    4. Application Module : TestAM with view instance "MyFiles"
    But When I run TestAM, I see MyFiles as an Input textbox. So I cannot able to add a file that will be stored in my Table.
    Please help me out.

    Just to clarify, my previous post is related to title of this thread("How to test BLOB Table Column in BCBrowser??"),
    and not to "My requirement is to upload a file(pdf,doc,jpg, txt) into DB using ADF" 
    Dario

  • How to show Blob column in APEX application

    I have table with blob. The images are loaded through a scheduled night process. These are not the images uploaded using APEX. How can I show these images using APEX?
    Thank you,

    Hello user,
    Although the purpouse of this blog post bij Dimitri is quite different, you can see in the 3th and 4th picture what you need to do: http://dgielis.blogspot.com/2008/07/show-blob-of-other-table-in-apex-form.html
    Greetings,
    Rutger
    http://rutgerderuiter.blogspot.com/
    ===============================================================================
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How to transfer BLOB type of data from SQL Server to Oracle

    Hi,
    Actually, I create a table with BLOB type data in SQL server. In fact, there is not exact BLOB type in SQL server, it will be separated to image and ntext types. But there is exact BLOB type in Oracle.
    I don't know how to transfer this "BLOB" type into Oracle with DTS or any other methods.
    Many Thanks for your any suggestions,
    Cathy

    JAVA_GREEN wrote:
    No i haven't mixed up.But the file from where i have to retrieve the data is in csv format.Even though i created another csv driver.and tried but i cud not find a solution to load/transfer a set of records from one file(in Excel/csv format) to another file(in mdb format).plz help me.Is there any other methods for this data transfer.A csv file is NOT an excel file.
    The fact that Excel can import a csv file doesn't make it an excel file.
    If you have a csv file then you must use a csv driver or just use other code (not jdbc) to access it. There is, normally, a ODBC (nothing to do with java) text driver that can do that.

  • How to fetch Tax Type column

    Hello all
    I am working on a report
    I need to include Tax  Type column.
    when I gone through the forms I couldn't find the column of Tax Type
    Can someone please help me out how to fetch the Tax Type Column(From which Table)
    Thanks in advance

    Hi 917621,
    What Tax type are you referring to ?
    Which legislation are you working for ?
    What version of EBS ?
    Please be more specific when asking a query.
    Cheers,
    Vignesh

  • How to display BLOB image column with WEB application, JSF, ADF BC

    I looking for a way to display the content from a blob column on a WEB application, JSF, ADF BC
    The blob column contains a JPEG image.
    About the application
    The model contains a viewobject where the blob column attribute (photoimg) type is of type : BlobDomain
    Now I have to create the view to display the content of photoimg inside a JSF-JSP page.
    Any advice ?

    Search is your friend
    How to display the content of a BLOB column in a ADF/BC pages ?
    John

  • How to show different types of components in acolumn of a dataTable?

    Hi All,
    Based on the conditions, I may want to show outputText field in row 1 and Link in row two for a particular column. of a dataTable.
    How can I do this??
    Thanks
    Sudhakar

    Giri I have found a way to show various components on conditional basis
    Here is the below example for that approach
    1. Create a new Project
    2. Drag a dataTable component on default page (created by creator)
    3. Remove column 3
    4. Remove dummy data from Column 2
    5. drag OutputText Object into Column2
    6. drag Image component into column 2
    7. drag checkBox component into Column 2. Now youe Page1.jsp code should look like something like Below
    <h:dataTable binding="#{Page1.dataTable1}" headerClass="list-header" id="dataTable1" rowClasses="list-row-even,list-row-odd"
                            style="left: 192px; top: 120px; position: absolute" value="#{Page1.dataTable1Model}" var="currentRow">
                            <h:column binding="#{Page1.column1}" id="column1">
                                <h:outputText binding="#{Page1.outputText1}" id="outputText1" value="#{currentRow['COLUMN1']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{Page1.outputText2}" id="outputText2" value="Number"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{Page1.column2}" id="column2">
                                <f:facet name="header">
                                    <h:outputText binding="#{Page1.outputText4}" id="outputText4" value="Image/Text/CheckBox"/>
                                </f:facet>
                                <h:outputText binding="#{Page1.outputText7}" id="outputText7"/>
                                <h:graphicImage binding="#{Page1.image1}" id="image1" value="resources/prime.GIF"/>
                                <h:selectBooleanCheckbox binding="#{Page1.checkbox1}" id="checkbox1"/>
                            </h:column>
                        </h:dataTable>8. Now create a bean Called NumberBean
    9. Add properties oddRender,evenRender,primeRender of type boolean
    10.Add private method "isPrime" in Page1.java(default bean created by studio creator)
    * NumberBean.java
    * Created on July 16, 2005, 12:08 PM
    package webapplication11;
    * @author  user
    public class NumberBean {
         * Holds value of property oddRender.
        private boolean oddRender;
         * Holds value of property evenRender.
        private boolean evenRender;
         * Holds value of property primeRender.
        private boolean primeRender;
         * Holds value of property value.
        private int value;
        /** Creates a new instance of NumberBean */
        public NumberBean() {
         * Getter for property oddRender.
         * @return Value of property oddRender.
        public boolean isOddRender() {
            return this.oddRender;
         * Setter for property oddRender.
         * @param oddRender New value of property oddRender.
        public void setOddRender(boolean oddRender) {
            this.oddRender = oddRender;
         * Getter for property evenRender.
         * @return Value of property evenRender.
        public boolean isEvenRender() {
            return this.evenRender;
         * Setter for property evenRender.
         * @param evenRender New value of property evenRender.
        public void setEvenRender(boolean evenRender) {
            this.evenRender = evenRender;
         * Getter for property primeRender.
         * @return Value of property primeRender.
        public boolean isPrimeRender() {
            return this.primeRender;
         * Setter for property primeRender.
         * @param primeRender New value of property primeRender.
        public void setPrimeRender(boolean primeRender) {
            this.primeRender = primeRender;
         * Getter for property value.
         * @return Value of property value.
        public int getValue() {
            return this.value;
         * Setter for property value.
         * @param value New value of property value.
        public void setValue(int value) {
            this.value = value;
    private boolean isPrime(int prime)
            if(prime==2)
                return true;
            int factors=0;
            for(int i=1;i<=prime;i++)
                if(prime%i==0)
                    factors++;
                if(factors>2)
                    return false;
            return true;
        }11. Now add the NumberBean array as property in Page1.java
    12. You will see following methods and private variable in Page1.java file
         * Getter for property numberBeanArray.
         * @return Value of property numberBeanArray.
        public NumberBean[] getNumberBeanArray() {
            return this.numberBeanArray;
         * Setter for property numberBeanArray.
         * @param numberBean New value of property numberBeanArray.
        public void setNumberBeanArray(NumberBean[] numberBeanArray) {
            this.numberBeanArray = numberBeanArray;
         * Holds value of property numberBeanArray.
        private NumberBean[] numberBeanArray;
        13 Now modify the Constructor of Page1.java as below
             java.util.Vector results=new java.util.Vector();
                for(int i=1;i<=100;i++)
                    NumberBean bean=new NumberBean();
                    bean.setValue(i);
                    if(i%2==0)
                        bean.setEvenRender(true);
                        bean.setOddRender(false);
                    else
                        bean.setEvenRender(false);
                        bean.setOddRender(true);
                    if(isPrime(i))
                        bean.setPrimeRender(true);
                    else
                        bean.setPrimeRender(false);
              results.add(bean);
                numberBeanArray=(NumberBean[])results.toArray(new NumberBean[results.size()]);
           14. Now Change the JSP code as below
    <h:dataTable binding="#{Page1.dataTable1}" headerClass="list-header" id="dataTable1" rowClasses="list-row-even,list-row-odd"
                            style="left: 192px; top: 120px; position: absolute" value="#{Page1.numberBeanArray}" var="currentRow">
                            <h:column binding="#{Page1.column1}" id="column1">
                                <h:outputText binding="#{Page1.outputText1}" id="outputText1" value="#{currentRow['value']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{Page1.outputText2}" id="outputText2" value="Number"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{Page1.column2}" id="column2">
                                <f:facet name="header">
                                    <h:outputText binding="#{Page1.outputText4}" id="outputText4" value="Image/Text/CheckBox"/>
                                </f:facet>
                                <h:outputText binding="#{Page1.outputText7}" id="outputText7" rendered="#{currentRow['oddRender']}" value="Odd Number"/>
                                <h:graphicImage binding="#{Page1.image1}" id="image1" rendered="#{currentRow['primeRender']}" value="resources/prime.GIF"/>
                                <h:selectBooleanCheckbox binding="#{Page1.checkbox1}" id="checkbox1" rendered="#{currentRow['evenRender']}" value="Even Number"/>
                            </h:column>
                        </h:dataTable>JSF model really helps in various scenarios. Only thing we need is patience, Better understanding on Framework and some Investigative knowledge. :-)
    Thanks
    Sudhakar

  • How to show all fileds column without scroll the report output.

    Hi,
    In my report output shows few columns and need to scroll right to see rest of fields . but i want to see all columns without scroll to right side in output.
    Please guide me how to fix the fileds in report.
    Regards.

    Hello,
    Why dont you use WAD and then switch off these properties in Webitem paging properties.
    i think that would give you more flexibility with paging,scrolling but with some extra effort of creating a WAD
    waiting for your feedback
    Regards
    Nitin Bhat

  • How to show TITLE of column?

    not sure on the numbers terminology but can anyone help me find where i turn on the ability to see the TITLE of the columns when i am not looking at an area that includes these?
    right now if i scroll way down i can see the ALPHABET but i need to see the name that i have given to the column in ROW A or i cannot tell where to paste information.
    does that make sense?
    TIA

    hi jerrold, wayne. thank you!
    i am having a bit of a time with this one.
    i hit the "header row" icon (the one with the grey bar on top) and this created a ROW 1. I copied what is now Row 2 which is where i had my COLUMN TITLES and /pasted/ this into Row 1.
    now i am looking for a "freeze header row" option because i cannot see this ROW 1 when i scroll down (I can only see the A, B, C, D etc) when i scroll down.
    when i click on the header row button there is no option to freeze and this is the same for when i go to the Table pulldown. in the table pulldown both "repeat header rows" and "repeat header columns" are checked.
    am i supposed to somwhow /replace/ the ABCD etc with my COLUMN TITLES to get this to work...?
    THANKS

  • Image Field and Blob Type

    Hi!
    I´m working on form that will works lika a image database.
    In my table I store the imagens in a blob type column.
    In my form, I use a Image Field to display the imagem from database.
    It works.
    Now I want to generate a md5 hash for the image file, so I createa function that receive a blob variable
    and calculates the md5 hash.
    That works too.
    The problem is that I want to get the hash at runtime, right after the file is chosen.
    So I did this:
    wfilename := WEBUTIL_FILE.FILE_OPEN_DIALOG (wdirname, NULL, file_types_variable);
    wmd5    := my_functions_package.md5(my_file => :data_block.image_field);
    When I try to compile, I get the error: Bad bind variable 'data_block.image_field'
    I guess the forms doesn´t see the image_field as a blob even if it is.
    Some one know how can I work arround this? To get the image_field as blob (It already is at database).
    Forms [32 Bit] Version 9.0.4.0.19 (Production)
    Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
    Thanks.

    hi
    try something like this.
    declare
          f varchar2(100);
    begin
         f := webutil_file.file_open_dialog();
         if f is not null then
              :block.item := f;
              end if;
         end;or try the following code.
    declare
    l_file_name varchar2(383);
    begin
    l_file_name := webutil_file.file_open_dialog( );
    if
      l_file_name is not null
    then
      if
        :block.rowid is not null
      then
        create_record;
      end if;
      client_image.read_image_file ( l_file_name, substr ( l_file_name, instr ( l_file_name , -1 ) ), 'block.item' );
    end if;
    end;sarah
    Edited by: QGIRCO on Jan 20, 2010 8:51 AM

  • How to show New calculated item in graph.

    I created a new calculated item in column in pivot table. That new calculated item is not showing in line graph.
    How to show that new column in graph.
    Thanks

    Guys Please provide any pointers to achieve this. its very urgent for  me.
    Regards
    Kris

  • How to show a word document stored in a BLOB column?

    Hi guys.
    I'm trying to show the content of a MS Word document through forms 6i. This document was stored as byte-for-byte by an application developed in .Net to an BLOB column (oracle table). Anybody could help me in how to show this document using Internal Persistend LOBs and through forms 6i?
    I've been searching for it a lot of time without success...
    Thank you in advance.
    Alex.

    I've read about using the ole2 item, but I don't how to do it with BLOB files. I tried to use it and didn't work... I don't know if I've used it correctly or not. Could anybody give a sample, please?
    If anybody knows other way to do it, please send too.
    Thanh you,
    Alex.

  • How to show attributes column types on ERD

    Hi,
    I created a diagram in ERD but can't find how to show in the diagram the column types. It only shows the column names but doesn't show if this is a varchar2, integer,etc or if this can be null or not. Please help.
    Thanks in advance.

    the idea is that entities are logical objects. Although you can designate a "format" for an attribute, it's really more of a physical model/implentation concept.
    So the answer to your question is No.
    However, If you wanted to use a Server model Diagram there is a lot more information associated with it.
    And since it is a actual model of the DB then you will have your foreign keys in the child tables.
    Michael

  • Can i see the column DATA(BLOB type) in PM_OBJECTS of DCM schema

    we installed DCM managed clustering .it is Database repository type.
    i am trying to see the column DATA(BLOB type) in PM_OBJECTS of DCM schema .
    I wrote a program in java to read blob data type and write it into a temporary file.
    when i open temporary files all the data in junk format.
    can i see the real data of thatcolumn.Is it possible?
    first of all for what purpose DCM shema will be used?

    Hi,
    There is no option to show the comments on the diagram.
    We plan to add such feature in the next version.
    Ivan

Maybe you are looking for

  • Safari 2.0.3 Not showing images, flakiness, etc

    Hello, I am an advanced Mac Tech who just upgraded to Safari 2.0.3 (with Mac OSX 10.4.4). As of this morning I am noticeing flakiness. When I go to all my usual pages, I am noticeing that all the images with the within the web pages are not drawing,

  • Mail activity keeps counting incoming emails

    I just upgraded  my system to Mavericks Every time I check the mail , Mail is showing incoming phantom emails in the activity window. The number is growing by 2 every time I check even if nothing is arriving When I quit Mail and launch it back, it go

  • Accessing the Mobile Service without Authentication

    I am planning on using Azure Mobile Services as a backend to our social application. However, security will be handled by a different authentication server that we are implementing. User authentication is handled on the client level through the our s

  • Bug when installing WindowsUpdate KB2962123

    After installing Windows Update KB2962123 on a Windows 8.1 x64 machine, is not possible anymore to install or update any AIR application. It seems to affect all AIR versions above 3.7.

  • Video podcasts not showing up

    I have put some video ipods on my 80gig video iPod (Model MA450LL). The progress bar shows that they are transferred, I see them on the iPod in iTunes when the iPod is connected to the mac, but when I disconnect, they are no longer there. Help!