How to use no wait in adf

hi jdev experts,
am using jdev 11.1.1.5.0 - adfbc-oracle db10g.
here my code.
SELECT GlLvlAccountsEO.GLAL_BU,
       GlLvlAccountsEO.GLAL_LVL1,
       GlLvlAccountsEO.GLAL_LVL2,
       GlLvlAccountsEO.GLAL_LVL3,
       GlLvlAccountsEO.GLAL_LVL4,
       GlLvlAccountsEO.GLAL_ACCT,
       GlLvlAccountsEO.GLAL_OPT_TYPE,
       GlLvlAccountsEO.GLAL_CRE_BY,
       GlLvlAccountsEO.GLAL_CRE_DATE,
       GlLvlAccountsEO.GLAL_UPD_BY,
       GlLvlAccountsEO.GLAL_UPD_DATE,
       GlLvlAccountsEO.GLAL_DESC1,
       GlLvlAccountsEO.GLAL_DESC2,
       GlLvlAccountsEO.GLAL_STATUS,
       GlLvlAccountsEO.GLAL_SENT_FLAG,
       GlLvlAccountsEO.GLAL_TITLE_ID,
       GlLvlAccountsEO.GLAL_FBT_PCT,
       GlLvlAccountsEO.GLAL_FBT_CAT,
       GlLvlAccountsEO.GLAL_BUD_FLAG,
       GlLvlAccountsEO.GLAL_PLANT,
       GlLvlAccountsEO.GLAL_CL_ID,
       GlLvlAccountsEO.GLAL_PAR_LVL1,
       GlLvlAccountsEO.GLAL_PAR_LVL2,
       GlLvlAccountsEO.GLAL_PAR_LVL3,
       GlLvlAccountsEO.GLAL_PAR_LVL4,
       GlLvlAccountsEO.GLAL_PAR_ACCT
FROM GL_LVL_ACCOUNTS GlLvlAccountsEO
where GlLvlAccountsEO.GLAL_BU = :pbu
and GlLvlAccountsEO.GLAL_STATUS  IN ('E') for update nowaiterror
some parenthesis is missing.if i remove the for update nowait means it's perfectly working.
i know how to use sql statement
eg:
select * from dept
where deptno =10
for update nowait ;here i can able to understud.
but,
In adf why its doesnt supports ah?
please anyone help me.

hi john,
nice to see you here ;)
in this blog. i read out the how to use for update no wait.
http://radio-weblogs.com/0118231/stories/2004/03/24/whyDoIGetOraclejborowinconsistentexception.html
ok. my question is :
am unable to use the for update no wait statement in query as like as they said.?
I'll not comment about the use of pessimistic locking like this in a web-based app.ok. am not use pessimistic locking.
(although I have just implied that there could be some issues - ADF is not Forms).
ADF is not Forms.
from this what i understood means.
some issues - ADF technology
not in forms technology. are you mean like this. is it so?
http://jdeveloperfaq.blogspot.com/2010/02/faq-12-how-to-disable-query-wrapping.html could help you
how does helps me.
this blogs deals something about advanced stuff operator (union,unionall...)
i cant your undertud the previous post fully.
sorry for misunderstanding from your post..
Edited by: ADF 7 on Jan 30, 2012 12:16 AM

Similar Messages

  • How to use Multiple selection in ADF faces

    i i would like to know how to use an multiple selection (ADF select many choice) to update the database.

    Hi,
    Timo is correct that there is no automated way for doing this. You can access the select many selection from a managed bean either accessing the ADF binding layer or by referencing a managed bean array property. So the use case is important. Use case would include the database attribute type to update
    Frank

  • How to use a collection in ADF

    Hi all,
    How to use the collection in ADF.
    Thanks in advance
    C.Karukkuvel

    hi John,
    Scenario:
    In my page,i have two tab pages .In that when the user enter the Location names in the first tab.when the user navigates to the next tab,we need to give the LOV having the Loactions based on the first tab values.
    when i try to use the view object it will list only the data's in the database.but i needs the locations entered in the current page also.pls guide me in this
    Thanks & Regards
    C.Karukkuvel

  • How to use image maps in ADF 11g

    Can somebody point me to code snippet for using image maps in JSF Page.
    I just want to use image maps in my application..but i don't know how to use image maps in ADF.
    -Deepti

    Hi chris,
    My DataBase script is given in below
    CREATE TABLE XXSR.SR_HIERARCHY
    FORM_ID NUMBER,
    FORM_NAME VARCHAR2(30 BYTE),
    PARENT_FORM_ID NUMBER,
    FORM_LOCATION VARCHAR2(1000 BYTE),
    IMAGE_FILE ORDSYS.ORDIMAGE
    I want to store the image in database from front end using ADF 11g
    -Deepti
    Edited by: 913387 on Feb 24, 2012 5:36 AM

  • How to use autosuggest feature in adf?

    how to use autosuggest feature in adf?

    You can refer below link
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/004-auto-suggest-169120.pdf
    Thanks
    AJ

  • How to use Connection Pool in ADF ear file creaion from jDev 10.1.3

    Hi,
    We are developing big application in ADF with 10 different modules. We are creating ear file with data source setting.
    How to use connection pool while creating ear file from jDev. Connection pool is alreday created in Application Server 10g.
    What all the setting we need do to make use of connection pool while creating ear file jDev.
    Thanks

    User,
    If you are using ADF Business Components, you can right-click each application module, select "configurations" and edit the configuration you are using. On the initial page of the configuration dialog, you can specify to use either a JDBC URL or a Datasource - you just need to choose Datasource and then provide the name by which to access it.
    John

  • How to use JavaScript Calendar with ADF Faces ?

    Hi All,
    Our application is running under limited bandwidth so that we want to use clientside/javascript calendar instead of the ADF Faces calendar (server side).
    I already have the javascript that will pop-up calendar selection dialog when invoked.
    Using JSP, this is working perfectly, BUT I don't know how to integrate this Javascript calendar with ADF Faces form.
    How can I do that ?
    Attached below is the JSP that works with script :
    <f:view>
    <html>
    <head>
    <script language="JavaScript" src="ts_picker.js">
    </script>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>Calendar</title>
    </head>
    <body>
    <form name="tstest">
    <input type="Text" name="timestamp" value="">
    <img src="cal.gif" width="16" height="16" border="0" alt="Click here to get the date">
    </form>
    <h:form>
    </h:form>
    </body>
    </html>
    </f:view>

    Hi,
    ADF Faces does not provide a method that allows you to call JavaScript on the client. This may change in upcoming versions
    Frank

  • How to use global session in ADF

    Hi all,
    My problem is that I have several sessions that connect to a table in an ADF application. If I update some data in one session and commit, the other sessions do not see it until they requery the data because they are using their own local sessions and caches. I want the changes to be seen by all the sessions. Is there something like a global session in ADF?
    Thanks in advance,
    S/\EE|)

    Hi,
    From the documentation
    "For example, say you have a page that lists all products, and a user can navigate from that page to another page to create a product. A button on this page both creates the product and navigates back to the list page. In order for the user to see the product just created, you must set the iterator binding for the product list to cacheResults=false. Doing so forces the iterator to reexecute when returning to the page and display the newly created product."
    Frank

  • How to use HTML5 Video in adf page

    Hi,
    I need to use HTML5 video instead of af:media in my adf page inorder to avoid browser plugin request to the end user.
    I've placed the video tag in .jsff as below:
    <video width="320" height="240" controls="controls" poster="../resource/poster.png">
    <source src="../resource/FAE_Intro_cropped.mp4" type="video/mp4" />
    <source src="../resource/FAE_Intro.ogg" type="video/ogg" />
    Your browser does not support the video tag.
    </video>
    When I run the web application, it shows the poster image but it does not show the video. It simply shows a 'X' in the center.
    I'm using jdev version:
    Studio Edition Version 11.1.1.3.0
    Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660
    Can someone please help me in this regard.
    Thanks,
    Bhaskar Podugu

    Yes. I tried surrounding with f:verbatim tag but still it did not worked.
    The actual HTML file when run outside of jdev (i.e., going to the folder and double clicking the .html file) is showing up the video but when the same is run through jdev as a deployment, it doesn't show up.
    I'm testing this in Mozilla FF 9.0.1.
    If the reference to the video file is incorrect, it shouldn't even show the poster image but I can see the poster image which is also placed in the same location.
    I tried placing af:inlineFrame(pointing it to the actual HTML file) inside jsff page, but it did not work.
    Does weblogic server need any configuration for flushing HTML5 Video content?

  • How to use CSS to customise ADF component

    I'm not going into skin. However, I want to edit property of ADF component through CSS. How do we do this? Any url link that give complete documentation? (How to represent ADF Component in CSS)
    E.G. I want to set af:column noWrap=true to all table.
    Regards
    Eric H

    Hi,
    just a guess, but give it a try: customize the default Oracle skin as described in the blog post "Customizing BLAF for ADF Faces - easier than Skins for influencing colors and fonts by Lucas Jellema". You don't need to add custom skins, just edit the oracle-desktop.xss file.
    Then you can add a "white-space: nowrap;" property for the appropriate style, which very likely will be AFTableCellDataText. It will be something like this:
    <style name="AFTableCellDataText">
      <property name="white-space">nowrap</property>
    </style>HTH,
    Patrik

  • RE: How to use BIRT Reports in ADF

    HI Experts,
    I am using jdeveloper 11.1.2.3.0 ,
    I need to integrate the BIRT Reports into ADF application,
    Can anyone give a solution for this one..
    With Reagards,
    Satishkumar N

    And what is your question?
    I don't have ready to use code. You know what to do and start working on it. When you have a specific problem you ask here for help.
    I don't even know the BIRT API you need, so you have to look it up yourself.
    For hte streaming the data back to the client you can refere to JDev11.1.2.1.0: Handling images/files in ADF (Part 3) | JDev &amp;amp; ADF Goodies
    Timo

  • How to use SQL query in ADF

    Hi Team,
    I want to fire one sql query to retrive some data. I cant make VO of that query as its from many DB link.
    Query is like SELECT query.
    Can anyone suggest me
    My Jdev :- 11.1.1.6.0
    Thanks In Advance
    Ramit

    I mean to say that the query is made by one or more than one schema .
    something like this:-
    Select hcsua.location , msib.description,
    hl.address1,hl.address2,hl.city,hl.state, hl.postal_code,hl.country, xmnd.part_number
    from hz_party_sites hps, hz_cust_acct_sites_all hcasa, hz_cust_site_uses_all hcsua, hz_locations hl, xxnin_moca_nmi_display xmnd, mtl_system_items_b msib
    Where hps.party_id = 176220
    And hps.party_site_id=hcasa.party_site_id
    And hcasa.cust_acct_site_id=hcsua.cust_acct_site_id
    And hcsua.site_use_code='SHIP_TO'
    And hps.location_id=hl.location_id
    and hcsua.location=xmnd.location_acct_num
    and msib.segment1=xmnd.part_number;
    when I am making SQL VO then its saying cant make attribute of this query.
    Please guide me on this.

  • File download and Upload using SOAP in Oracle ADF

    Hi Gurus,
    I have a requirement of Uploading and downloading a file on a location. It is for uploading and downloading an Attachments for a user. I have a table in my jspx page for showing the current attachments and an option to upload a new attachment. When I click on attachment name, the file should be downloaded.
    The current implementation does this using SOAP web service. Now, i need to do it with ADF now.
    For Uploading and downloading, i have used FileDownloadActionListner on my page. I am not able to figure out how to use SOAP service in ADF to download or upload a file. what i have done is
    1. Create WebService Data Control with the exposed wsdl.
    2. Created .jspx page and binded the fuctions to the button.
    3. In managed bean class, i have written code to get reference to that web service and invoke it. I am assuming of making the currect call as the response object is not coming as null.
    Now i need to know:
    1. How to verify for the success response from a SOAP web service in the managed bean code.
    2. how to go ahead with the implementation.
    For Upload: I have filename, content and mimetype in the managed bean code function. but how to use those to make a soap call and upload a file at the location.
    For Download: I have DocumentId in the managed bean code function, and how to use it to download a file. How to get the SOAP response in managed bean code and how to handle it.
    Thanks in Advance,
    regards,
    Rajan

    Hi,
    don't have an example, but I suggest to use a JAX-WS proxy client and access it from the POJO DC (instead the WS DC) so you have access to the service responses
    Frank

  • What does the automatic document feeder tray do?how to use it in hp photosmart 7510

    wht is the automatic document feeder tray for? how to use it?

    The ADF is used to automatically feed a number of pages for scanning, copying or faxing.  Paper is loaded into the ADF with the printed side facing up.  When you then copy (or scan or fax) the pages will be automatically pulled into the scanner mechanism one at a time and then deposited in the output tray. 
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • GUI window doesnt open when using the .wait()

    Hi everyone
    I new to java. I'm experimenting with nebeans 6.1. I building a GUI, which uses other GUI windows. Can anyone give me an example of how to use the .wait function to so that the main gui doesn't continue until the other gui's selection is made. I'm using swing.

    I thought making it modal would halt the loop until my selection was made in the gui. It will. You are doing something wrong.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting.
    And don't post your NetBeans code because those of us that don't use the IDE of Java 6 will not be able to execute the code.

Maybe you are looking for

  • Quicktime "?" appears on embedded videos in Firefox

    Hi, and thanks for reading this. Quite a few of you have had problems fixing the issue with the QT '?' in safari (for those who did not fix it moding your QT pref file seems to be the way to go - http://discussions.apple.com/thread.jspa?threadID=1195

  • Call to java bean but code not being executed.

    Making a call to my javabean class called ch06_03.java from a jsp program shown below: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Using a java package.</title> </head> <body> <% beans.ch06_03 messager = new b

  • The delete icon at the bottom of the email page has disappeared

    The delete icon at the bottom of the email page has disappeared.  How can I find it?

  • 'Gateway Hands-on sessions' program for partners

    Dear all, we've announced, through this blog /people/henrique.pinto/blog/2011/04/07/gateway-hands-on-sessions-for-partners-by-coil, the launch of the "Gateway Hands-on sessions" program for partners, by the SAP Co-Innovation Lab (COIL). This is a glo

  • Can I set up to have every event send notice

    last year I was able to have the Entire season for a hockey schedule give a 2 hour on screen advance notice. I cannot remember how I accomplished that or if Snow Leopard is different now. I set it up this year but there is no automatic notices other