How to retrieve BFILE object use jdeveloper2.0?

Can any one tell me? or, the jdeveloper is not able to do it?
null

ye jian,
Check out the JDBC sample code on OTN, and also the Oracle8i JDBC
Developer's Guide.
From the OTN home, click on Sample Code in the left-hand menu
bar. There is a link titled 'SQLJ and JDBC Advanced', which
contains a BFILE example.
Laura
ye jian (guest) wrote:
: Can any one tell me? or, the jdeveloper is not able to do it?
null

Similar Messages

  • How to retrieve multiple columns using "returning" in the Insert query.

    hi,
    wanted to know how to retrieve multiple columns using "returning" in the Insert Query.
    For retrieving one column we write the query as follows:
    Insert into TABLE values(1,2,3,4) returning COLUMN1 into PARAMETER
    But can we retrive multiple columns in the same query?
    am using oracle 10g and coding in .NET

    Hi,
    You can definetely get multiple values from a single query using the 'returning' clause.
    Eg : insert into emp (empno, ename, job, deptno) values (7324,'ADAM','MARKETING',30) returning ename, deptno into var1, var2; PN : var1 & var2 to be declared as varchar2 & number respectively.
    More insight into the 'RETURNING' clause in this link.
    http://www.samoratech.com/PLSQL/swArtPLSQLReturn.htm
    Regards,
    Bhanu.

  • How to retrieve character '#' when use Shift key + 3 instead of use Option key + 3?

    Hi everyone,
    Kindly advice how to retrieve character '#' when use Shift key + 3 instead of Option key + 3.
    Thank you in advance.

    Hi Tom,
    Thanks for your proposed solution. The problem has been solved.

  • How To Retrieve an Object's Value Defined Using c:set ... Tag?

    I have the value of a variable defined in JSP#1 (JSP#1 is not a form) using JSTL tag:
       <c:set var="id" value="${articleForm.article}" scope="session"/>Now, I have an object 'id' in the session scope. The object 'id' and all the information, which are defined in JSP#1, are forwarded to JSP#2.
    JSP#2 is a form. But, the 'id' is not used in JSP#2.
    JSP#2 has a submit button and then, a servlet takes over the control after that button is clicked. All the text fields in JSP#2 together with the object 'id' are forwarded to this servlet.
    I have two questions:
    1. I should put this object 'id' in a request scope or a session scope? Currently, it is in a session scope.
    2. How to retrieve the value of this object 'id' in this servlet? (I do not want to print the value out. I want to retrieve the value and store it in a database.)
        int articleID = Integer.parseInt( session.getAttribute( "id" ) );   or, it should be retrieved in another way?

    I'm not sure you understand the concept of a session object.
    Java objects stay on the server. There is no transmission between the web browser and the client.
    The scope just sets how long the server "remembers" that variable.
    request scope - only lasts one request. Once a web page is returned to the client, the server forgets all request variables.
    session scope - lasts for one user - across multiple requests/web pages.
    1. I should put this object 'id' in a request scope or a session scope? Currently, it is in a session scope.From your description, you appear to have it right - your object should be in session scope.
    2. How to retrieve the value of this object 'id' in this servlet? (I do not want to print the value out. I want to retrieve the value and store it in a database.)If articleForm.article is an String then that looks the right way to access it.
    You might have to do it like this:
    int articleID = Integer.parseInt( (String)session.getAttribute("id"));
    The Integer.parseInt method takes a String as a parameter - while session.getAttribute() returns an Object.
    This code will work if the object stored in the session is a String.
    The object stored in the session is ${articleForm.article} What type does articletForm.getArticle() return? That is the type you need to cast it to when retrieving it from the session.
    Cheers,
    evnafets

  • How to retrieve the system used in an iview?

    hello,
    i'm currently having trouble retrieving the proper attribute of an iview to retrieve the system used by it.
    it seem like the strings identifying the system in the iview differ in some iviews.
    using either:
    myIView.getAttribute(IAttriView.PORTAL_SYSTEM)
    or
    myContext.getAttributes("").get("System").get().toString()
    produce errors.
    while get("System") sometimes provides the correct system alias the attribute is none existant for other iviews where the string would be "Systemalias".
    IAttriView.PORTAL_SYSTEM doesn't seem to work at all.
    i did implement fail safe code if the attribute isn't present, however i don't know how to retrieve the system attribute without doing a case switch or something similar for all the different strings, which i would prefer not to do.
    also, is there an easy way to retrieve all iviews which use a specific system without parsing the whole pcd and checking the attributes?

    Prerequisite : Create the System Alias for the systems used in the application.
    Use the below code to retrieve the system details:
            HashMap mapattr = new HashMap();
            HashMap map = new HashMap();
            IUser user = WDClientUser.getCurrentUser().getSAPUser();
            IPrincipal principal = (IPrincipal)user;
            ArrayList list = UMFactory.getSystemLandscapeWrappers();
            ISystemLandscapeWrapper systemLandscape = (ISystemLandscapeWrapper)list.get(0);
            //Portal System ALias name
            ISystemLandscapeObject landScapeObject = systemLandscape.getSystemByAlias("<system alias name>");
            IUserMappingData userMapping = (IUserMappingData) UMFactory.getUserMapping().getUserMappingData(landScapeObject,principal);
            userMapping.enrich(map);
            mappedUserId = map.get("user").toString(); // String "UserId"
            mappedPassword = map.get("mappedpassword").toString(); //String "Password" 
         catch(Exception e)
              e.printStackTrace();
              wdComponentAPI.getMessageManager().reportException("Exception during retrieving the User Details - " + e.getMessage(),true);
    Thanks & Regards,
    Amar Bhagat Challa

  • How to identify various objects used in code

    Hi All,
    Can anyone tell me how can I list down various objects used in a program.
    For example in a report program if I am calling a function module, calling an include program, implementing a class and so on. Now I want to list down the objects used in the above program.
    Thanks in advance,
    Venkat

    This can get you started.
    DATA:
      code_rec(132),
      itab LIKE STANDARD TABLE OF code_rec.
    DATA:
      obj_text(40),
      it_search LIKE STANDARD TABLE OF obj_text.
    PARAMETERS:
      prog        TYPE sobj_name.
    START-OF-SELECTION.
      PERFORM search_table.
      REFRESH itab.
      READ REPORT prog INTO itab.
      CHECK sy-subrc = 0.
      LOOP AT itab INTO code_rec.
        TRANSLATE code_rec TO UPPER CASE.
        LOOP AT it_search INTO obj_text.
          SEARCH code_rec FOR obj_text.
          CHECK sy-subrc EQ 0.
          WRITE:/ 'Found ', obj_text, 'in', code_rec.
        ENDLOOP.
      ENDLOOP.
    *&      Form  search_table
    FORM search_table.
      REFRESH it_search.
      PERFORM add_a_search USING 'CALL FUNCTION'.
    ENDFORM.                    " search_table
    *&      Form  add_a_search
    FORM add_a_search USING  p_text.
      obj_text =  p_text.
      TRANSLATE obj_text TO UPPER CASE.
      APPEND obj_text TO it_search.
    ENDFORM.                    " add_a_search

  • How to retrieve a node using xpath in java

    Hi,
    I need to make an application in which on click of a button an xml is
    displayed on the browser.
    Now when a user selects a node in the xml then i need the xpath of the selected node for some processing.
    How to retrieve the xpath.
    I am using Struts framework.

    There is not a specific method for achieving this.
    You can store the whole xml document into a defined
    structure. And get the needed xpath by some index.Yes i know that i'll need to store the file.
    But my XML is fixed and the same XML is used everytime.
    Now the structure of the XML is like it has same named nodes inside the parent node.
    example :
    <Human>
    <Person>
    <Person></Person>
    <Person>
    <Person><name>fsfsdsdf</name></Person>
    </Person>
    </Person>
    <Human>
    Now if the user selects the person node which contains name node then how to get the XPATH.
    Can u help regarding the same........

  • How to retrieve export parameters using startrfc?

    When using the standard SAP client program <b>startrfc</b> to  remotely call an ABAP function in SAP, is it possible to retrieve the export parameters?
    The startrfc program only seems to allow you to send an import parameter (using the –E option)  and to send/retrieve a table, using the –T option.
    For example, the function BAPI_USER_EXISTENCE_CHECK exports the parameter RETURN of type BAPIRET2. How can you retrieve this export parameter using the startrfc program?

    HI Linda,
    Create an export variable and in the parameter reference give the field reference of the field like this VBELN[], then this forms a structure parameter...
    Then place all your recorded SAPGUI/TCD with in Message/EndMessage Block, and make a rule as an expected message, something like this...
    MODE                    MSGID           MSGNR    MSGV1
    'E'               '/DBM/COMMON'     467     E_VBELN     
    MSGID & MSGNR might differ in your case use them accordingly, also check the previous log and make sure that the order number is MSGV1, if it is in MSGV2, place the variable E_VBELN in the MSGV2 field of the message Rule.
    This should generally fetch you all the order numbers...
    But in some situations it didnt work in my case, so here is the second solution...
    MESSAGE ( MSG_1 ).
    SAPGUI/TCD RECORDING
    ENDMESSAGE ( E_MSG_1 ).
    DO ( &TFILL ).
    IF ( E_MSG_1[&LPC]-MSGID = '/DBM/COMMON' AND E_MSG_1[&LPC]-MSGNR = 467 ).
         E_VBELN[V_COUNT]-TABLE_LINE = E_MSG_1[&LPC]-MSGV1.( V_COUNT Should also be declared, but as a local variable)
         V_COUNT = V_COUNT + 1.
    ENDIF.
    ENDDO.
    This was you will get all the order numbers in one variable, which you can access in any script while looping the varable based on its length..
    Check and modify accordingly.
    Hope this helps..
    Best regards,
    Harsha
    PS: award points if this answer helps solve your issue.

  • Inserting&retrieving bfile object through form6i

    i want to insert an image in the database using form 6i. How to achive this by using the BFILE datatype.
    I have done this using the BLOB datatype. The problem that i am facing is that by backup file becomes too large. That is why i am looking to store the image in BFILE. Kindly provide any information as how to achive this task in the Form 6i.

    Hi
    Have you found a workaround for this problem? im having a similiar problem and am interested in its solution.....

  • How much memory do Objects use?

    I'm not sure how to ask this, but how does java manage memory usage for multiple objects? Is the memory needed for a classes methods shared amongst the objects of that class, or does each object have memory for it's methods allocated for its use alone?
    For example:
    class Foo {
       public void doSomething();
    }Let's say I have 30 instances of Foo. I can think of 2 options (but I maybe wrong)
    Case A: Each instance of Foo has it's own memory allocated for it's own copy of doSomething(), resulting in the total memory
    usage of 30 instances of Foo being about 30 times how much memory 1 Foo uses
    Case B: Each instance of Foo looks at a common copy of doSomething(), resulting in less memory needed since there is only one copy of doSomething in memory.
    If the case is A, Static methods would seem to be potentially more memory efficient. Assuming my thinking is correct(and feel free to say I'm dead wrong), would it not make sense to make as many functions as possible static?

    jverd wrote:
    Executable code (initializers, methods, constructors): One copy of the bytecodes per ClassLoader that loads the class. Static/non is irrelevant.Seems to answer the question in full.
    With reference (no pun intended) to the subject.
    Instance variables (non-static member variables): One copy of the variable per instance of the class. Stored on the heap.
    Class variables (static member variables): One copy of the variable per ClassLoader that loads the class. Stored on the heap.
    Local variables, including parameters: One copy of the variable per invocation of the method.Just to complete the picture a bit (but NOT to contradict earlier comments).
    Primitive variables - as above.
    Reference variables - as above. Note that method local reference variables are stored on the stack but
    any object instances referenced by these are stored on the heap even so.

  • How to retrieve BFILE use Jdeveloper2.0 connection

    Hi, Jdeveloper2.0 have its own connection way to access database.
    It used to build up info data form and dbservlet. It is great.
    But can we use its connection to retrive BFILE, like what we do
    using standard JDBC driver.
    How?
    Or we have to use oracle.jdbc.oci driver to connect database
    again?
    null

    ye jian,
    The JDeveloper connection editor/manager is just a wrapper around
    a straight JDBC connection. In other words, the named connection
    you create in the connection editor is a regular JDBC connection,
    and can be used to do everything Oracle's JDBC drivers support.
    See the online help in the section titled 'Connection Manager API
    ' for more information on how to reference a named connection in
    your code. This topic is found under Building Java Applications
    for Oracle8i, Managing Database Connections, Using the Connection
    Manager.
    Laura
    ye jian (guest) wrote:
    : Hi, Jdeveloper2.0 have its own connection way to access
    database.
    : It used to build up info data form and dbservlet. It is great.
    : But can we use its connection to retrive BFILE, like what we do
    : using standard JDBC driver.
    : How?
    : Or we have to use oracle.jdbc.oci driver to connect database
    : again?
    null

  • How to retrieve Font info using JDK

    Hello there:
    I am wondering how I can find as much info about a font as I can using JDK. I can use
    GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
    to retrieve the Font object, and get its name, family, that's pretty much of it. There is getAttributes, but I am not sure how it works. If I want to know such info as the folder containing a particular font, the font's foundry, etc, I don't know how to get them.
    Anyone can point me to a right direction and maybe I can take from there.
    Thanks a lot,
    Sway

    thanks man, but i need more info about a font than that. Anyway I've found sun's API helpful to some extend.
    http://www.docjar.com/docs/api/sun/font/package-index.html

  • How to retrieve string array using Session?

    Hi, I am having some problem retrieving string arrays through session.
    String personalData[] = new String[17];
    personalData = (String [])session.getValue("PersonalData");
    The coding above isn't working. Advise pls.. Thanks

    The getValue() method is deprecated - you should probably be using getAttribute.
    What about this code isn't working? Looks ok to me, as long as the "PersonalData" object in the session is a String[] it should work.
    Cheers,
    evnafets

  • How to bound the objects used in the mapping?

    HI,
    Could any one please explain me how to bound all the objects from a mapping at a single shot? Can we do this using OWB?
    Thank you,
    Regards,
    Gowtham Sen.

    Hi,
    Thanks to all for replying.
    I am using OWB 10G R1
    I exported the mapping and the depenedent objects such as tables, sequences. and so on.
    But while exporting I couldn't able to export public transformations. So the trasformation objects which I used in the mapping are set as not bounding to any object.
    Now I manually import the transformation.
    So Could any one explain, how to to do this reconcilation using OMB plus?
    Thank you,
    Regards,
    Gowtham Sen.

  • How to retrieving the content using Links

    Hi
    Please suggest me how to retrive content using link property.
    I have added link property to my Content. and i have added in internal resource path to the Link property.
    But my question is how access the page which is linked to my Content.
    How can i use it with anchor tag when i want show display the linked page content.
    what are tags to be used to retrive the linked content in the page.
    I found below line in CM documentation
    "These relationships are used by developers in their content queries when retrieving content to display in
    your portal."
    But i could found how to retrive.
    Genarally what technique we use to link an internal resource of our Content management
    thanks in advance
    Edited by: vamshi krishna on Jun 12, 2011 12:32 AM

    It sounds like there may be a misunderstanding about our link property feature.
    That feature is not for web hyperlinks. For that you can just use a string property. The links feature is for pointers to other pieces of content.
    (from: http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/contentTypesCm.html)
    "Using Link Properties
    You can create properties that allow content contributors to associate content items. Content contributors can link to content within the same or different repositories within the Virtual Content Repository. For example, if you have related content items that are stored in different folders, you can use content link properties to create relationships among content items. These relationships are used by developers in their content queries when retrieving content to display in your portal.
    Link properties can also be multi-valued to allow content contributors to link to multiple content items. For detailed instructions on adding a link property, see Define the Properties of a Content Type."
    Edited by: Chris Bales on Jun 13, 2011 2:56 PM

Maybe you are looking for

  • Adobe Reader XI Won't Stay Open

    I have Windows 7, use avast! antivirus, and explorer.  Computer hard drive had to be replaced recently by Dell.  When I got it back, I installed Reader right away.  At first, it gave me the same problems I have now - but eventually a file I tried to

  • Android Firefox display incorrect character.

    Is Firefox not support correct UTF8? I try to play with it already. I found: Settings->Display->Character Encoding = Show menu Then I go to Character Encoding (appear after finish above setting) It says Unicode UTF-8 but I think it's not Because it s

  • Red Secondaries

    Hi I'm having a real hard time figuring something out. I can do most things I want to do in Speedgrade, but my secondaries get my way frustrated. When I apply a secondary layer, it all seems fine, until I start touching any dials and sliders, in whic

  • Error:frm - 40039 can't attach PL/SQL Library

    Hi All, I am new to Oracle forms.While trying to attach plsql library to my forms It is giving me above error. I tried google . But not getting solution. Please Help. Regards, SHD Edited by: SHD on Jul 1, 2011 6:53 AM

  • Restricted session privilege in 9i and 10g

    We recently upgraded from 9.2.0.7 to 10.2.0.3. Oracle 9i allowed a user with RESTRICTED SESSION priv to connect (sqlplus user /@db) when the database was in restricted mode as it should. However, our Oracle 10g database will not allow a user with RES