JDev 11.1.1.2.0: Problem with refresh in form view after delete

Hi All,
I'm trying to delete the current row in a form view with the delete binding operation and obviously I do NOT want to fire any validations so I use the immediate = true but that causes the ADF lifecycle to skip the update models phase and thus my fields are not refreshed with the new current row after the old row has been deleted.
How can I fix this ?
Thanks in advance,
Mark

First the standard disclaimer: SQL code should be in a servlet/bean. It has no place on a JSP.
I would recommend you write a bean method that returns a list of objects, and then iterate over that list of objects on the JSP.
What exception does is getting thrown?
At a guess, your problem is that you are not releasing all resources. Connections, statements, resultsets...
That is probably hidden inside your DBBean. You are maybe releasing your result set with the statement Rset.close() - but if an exception happens even that wouldn't be executed.
Any sql code should be in a try/catch block, with resources being freed in the finally.
Cheers,
evnafets

Similar Messages

  • Migration Jdev 11.1.1.1 to Jdev 1.1.2, IDE visual problems with ADF design

    Migration Jdev 11.1.1.1 to Jdev 1.1.2, IDE visual problems with ADF design
    CONTEXT
    I’ve been working my project with Jdev11.1.1.1, when I migrate to JDev 11.1.1.2. I realized that my project didn’t compile successfully as before besides I couldn’t see the design view in a WYSIWYG mode on my JSF pages.
    I had installed (initially) in C:\oracle\Middleware Jdev 11.1.1.1 with WLS 10.3 (default in Installer)
    A couple days ago I realized about the new Jdev release JDev 11.1.1.2 and I decided to migrate because of the IDE improvements such as Bugs Solutions, Maven support, code templates, etc).
    The new version seemed to be non-compatible with WLS 10.3 because I couldn’t mount it in the same middleware so I installed the new one in C:\oracle\Middleware11g2, JDev 11.1.1.2 with WLS 10.3.1 (default in Installer).
    EXAMPLE
    I have created a new sample Project named JDev112App, it only has 1 java class, 1 ADF template and 1 JSPx to show the errors and differences between releases of the IDE… However, I also have added the screenshots of the Project in each IDE, also I have included a screenshot of my real project (Business App).
    NOTE. Business APP project is under subversion SVN and the migration was done successfully when JDEv 11.1.1.2 opened it (it migrated automatically).
    What should I do?? .. thanks
    Best Regards,
    Screenshot1
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15778
    Screenshot2
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15779
    Example APP
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15784

    I think that the problem could be preferences/settings migration from Jdev 11.1.1.1.0 to JDev 11.1.1.2.0, because I migrated not only the application but also the JDev preferences ( "Documents&Settings...Jdeveloper..." ).
    I have installed in a new machine without previous version of Jdev the new release JDev 11.1.1.2.0 and when I deploy my test application with errors ( showed in this post ), it works fine and also the design view is correct.
    I am not SURE but I think the bug or problem could be also the preference/settings migration between JdeveloperS.
    Can anybody tell me the real reason?? How can I fix it ... I don’t want to import each of my settings manually in JDev 11.1.1.2.0 ( I mean templates, javadocs settings, connections, repositories, etc).
    Thanks in advance for your help,

  • I am having a problem with very slow start up after expanding RAM on my 2009 Mac Pro.

    I am having a problem with very slow start up after expanding RAM on my 2009 Mac Pro (8 Core 2.93GHz). When I run the Mac Pro with 2 x 2Gb RAM it takes 4 seconds before the gray screen, chime and spinning wheel appear.However when I expand the RAM to 20GB the grey screen and chimes appear after a long 20+ second black screen.
    The RAM modules are paored  2 x 4GB Crucial CT51272BA1339.M18FMR and  6 x 2GB SAMSUNG M391B5673FH0-CH9, all DDR3 ECC.
    Reading articles on the internet, I thought it may be damaged RAM modules, but I have completed memtest and all are okay. I have tried changing the pairs around and if I use any paired 2 modules the Mac Pro starts normally, only when I try running more than 2 modules the delayed start up happens. (black screen 20 Seconds)
    I also have tried PRAM and SMU resets after changing the RAM setups, and the issues always occurs when I have more than 2 modules. As you can see I have 6 SAMSUNG modules and even with identical modules the issue happens, when increasing the RAM to more than 2 modules.
    The Mac Pro runs fine after the start up screen and can see all the modules, but has anyone else come across this issue, or have any ideas as to why my Mac Pro is taking 20 seconds to start up with 20 GB RAM?

    Hi there. Thanks for your comments.
    I have tried all the different combinations of RAM setup, and as stated in my initial topic, the Mac Pro boot up time only slows when I have more that 2 modules. Where I place these does not seem to make a difference.
    I have taken the Mac Pro to an Apple Reseller technician yesterday and they where not able to find any RAM errors. Apparently the boot up time is within Apple's acceptable parameters for this set up.
    Could anyone that is running a Mac Pro 2009 with more that 4 modules of RAM, please let me know if the boot up time is normal. ( the time it takes from pressing the power button to seeing the gray screen around 16 - 20 seconds)
    Or is anyone else having the same issues?
    thanks for your responce

  • Problem with connecting to free wifi after upgrading to Windows 8.1 from Windows 8

    Hi
    I had problems with connecting to free Wifi after upgrading my PC(Notebook) to Windows 8.1 from Windows 8. As I travel a lot within europe, I am used to being able to connect to Free Wifi(those that dont need a key or password to enter) but soon after downloading
    Windows 8.1 I almost never was able to do this. I'd always get «LIMITED» even though the signal was strong.This was so fustrating,so much so that I reset my PC to clear it of Windows 8.1 and am now back to Windows 8.This is a shame because I was really liking
    using Windows 8.1 and if not for this problem(which is a big one) I'd still be using it. If I download Windows 8.1 again from the Windows store what is the probability that I'll have the same problems?
    Thanks Portozzygirl

    More often than not when a device isn't working it is because the driver has become corrupted. Re-installing a fresh copy should help
    http://windows.microsoft.com/en-us/windows7/Update-a-driver-for-hardware-that-isnt-working-properly?SignedIn=1
    http://captaindbg.com/how-to-update-drivers-on-windows-7/   (works on win 8 too)
    Wanikiya and Dyami--Team Zigzag

  • Hello, I have a problem with my mac book pro after running the battery dead on a game.  The display has shrunk leaving two black margins on either side. What to do ?

    Hello, I have a problem with my mac book pro after running the battery dead on a game.  The display has shrunk leaving two black margins on either side. What to do ?

    Go to System Preferences>Displays and set the resolution to "Best for this computer" (or something to that effect).
    Clinton

  • Problems with Wifi on iphone 4 after updating ot iOS 5.1

    After I update to iOS 5.1 is started having problems with my home wifi.
    After the update every thing seems to be running alright after after a day my connection was lost.
    When I tried to reconnect I got the message "unable to join the network".
    I tried the following things:
    - Forget network, reconnect: This did not help
    - restart iPhone: did not help.
    - Reset network settings: did not help.
    The next step I tried was to restart my router.
    This solved the problem, but after 1 day I have the same issue.
    When I go to work there is no problem when I get back home same thing over again.
    This is going on ever since I update to iOS 5.1
    Before the update I had no problems.
    Does anyone have more perment solution.

    I have the same issue with my iPhone4 running ios5.1. I have tried everything you mentioned above as well as updating the firmware on my router, setting my router to broadcast on 2.4GHZ or 5GHZ exclusively,  assigning my iPhone a static address as well as a multitude of other mentioned fixes. I have determined this is NOT an issue with my WiFi Network, or Router. All other wireless devices in my home do not have this issue; except for my partner's iPhone4S also running ios5.1. It's WiFi issues are identical to mine. Our other Smartphone, an  HTC running Android, has no WiFi issues whatever.
    When I attempt to use WiFi on other networks with my iPhone4, I encounter the same issues: Intermittent connectivity,reporting that it is "Unable to Join Network", showing a strong WiFi signal on screen and yet having no WiFi connectivity, showing WiFi connectivity on screen and strong signal strength, and having no IP Address(etc) under WiFi Networks Settings. After spending a great deal of time online looking for solutions I have determined the following:
    This is clearly an Apple Hardware or Software issue. I hope Apple eventually addresses this issue because it is extremely frustrating!

  • Problem with refresh of snapshot

    I am facing one problem with refresh of a snapshot. In the front end (developed in D2K) there is a PL/SQL code written which loops through user_snapshots and refreshes each snapshots one by one.
    With one particular snapshot its giving the error. I traced the session and found the problematic snapshot. I tried to refresh the same snapshot with some other user with DBA role granted to it and its working fine.
    Now I logged in to SQL Plus with the user Z0000 ( This is the user with which the application user logs in to the application) and tried to rerfresh the snapshot. Its giving me ORA-03113 end-of-file on communication channel. Then I granted DBA role to user Z000 and then tried to refresh its again giving the same error.
    I tried with many different users and its working fine.
    Any ideas where could be the problem.
    Thanks
    Sidhu
    Database is 10gR2 on AIX 5.3
    Message was edited by:
    Sidhu

    Hi,
    did you try to do it locally?
    Maybe a possible problem on the network.
    This issue remembers me a bug on older versions.
    It is strange on a 10.2
    Acr

  • Y have problems with Photoshop Elements 12  Bug after reinstallation complet  Impossible working ??

    Morning !
    We have many problems with PHOTOSHOP ELEMENTS 12 ?
    After installation on MAC OS X   YOSEMITE  .
    S O S !!

    Exporter vers photoshop do you receive any specific error messages?  In what way is Photoshop Elements 12 not working?

  • My Client is having a serious problem with the Contact Form Widget

    My Client is having a serious problem with the Contact Form Widget that I can not figure out how to correct.
    I created a website for a client and inserted a Contact Form widget on their 'Contact Us' page. Whenever anyone uses the form, the e-mail my client receive shows my e-mail address as the sender. So, when they 'reply' to the e-mail, the reply is sent to me and not the person who sent the original message. This creates a major problem in that I get barraged with e-mail replies while my client's potential customers go without a response.
    When I look at  'Site Manager > System E-Mails > Workflow Information > E-mail From Address' on the site's Admin Console, it shows my e-mail information. Is this is what needs to be changed?  If it is, what needs to be placed in that field so that the e-mail my client receives shows the senders e-mail information in the 'From' field.  My client wants to be able to click reply and have the message sent to the right party. They would be very upset if they have to cut and past the senders e-mail address from the body text on every contact they receive.
    Their feeling is that if I can't find a way to make the contact form work the way it should, then it's useless to them.
    Can anyone help me figure this out? I really don't want to disappoint my first client.

    Are you on a plan that has the CRM feature that stores your customers' data? If so, the idea of the contact form is that you'll receive a notification that there's been an inquiry filled out on your contact form and there should be a link in that email notification that leads to the "Case" that was created when that customer filled out a contact form.  You can click that link and visit the case for that customer in your BC site and reply to them from there so that all of the correspondence is logged in the CRM for safe-keeping and for your records.
    If your client finds this is too much work to login to BC to reply every time, then you should check to see if you have the "Customer Service Ticketing" feature on your hosting plan.  This is a feature where you create a dedicated email account (like [email protected]) and the BC system will automatically login to that email account and pull any emails in that inbox and convert them to a customer case for the sender of the email and then it will send out a notification via email to any of the BC Admin users you delegate as "Customer Service Agents".  Since the CST integrates with the BC CRM it lets you reply directly within the email-- but when you reply it will be going to that same email address dedicated to the CST but once the CST service checks your email again and sees that you replied to this inquiry it will log your reply against the customer's case and sends your reply via email back to them so that all the correspondance gets logged on BC's CRM but you can still reply via email.
    There's no way to use the default web forms to update the "From" or "Reply-To" address.. it must come from an approved email address to avoid spam issues.  On most web services you cannot change the "from" address anyway but usually you can at least specify the "Reply-To" address so that when someone hits "reply" in their email client it will reply to whoever you setup as the "Reply-To" address.
    Here's some more information about CST: http://kb.worldsecuresystems.com/kb/customer-service-ticketing.html?bc-partner
    I don't think the CST feature is in the webMarketing BC plan-- I think it's only in the webCommerce plan so if you have less than an webCommerce plan you have to tell your client to reply through BC by clicking the link in the notification they get.  You can justify it by saying its one or two more steps but it keeps the entire convo on record in their CRM for easy referral later.

  • Problem with navagation of forms

    Hi everybody
    I have a problem with navigation of forms
    I have two forms say a and b.In form a i have a button and i want, when i press that button the form b should open.I wrote when_button_pressed trigger for that button in form a as open_form('b'); Raise form_trigger_failure;
    When i run form a and press the button form b is not opening.It is giving me a message as 'form b cannot be opened'
    Can somebody tell me where i am wrong.I have compiled b.
    TIA
    Prajakta

    Why are you using Raise form_trigger_failure;
    You don't need it.
    Try doing open_form('b.fmx');
    If this doesnt work
    I think your problem is that the fmx file for form b is not in the path to be found.
    make sure to include the direcoty in the forms60_path or have it in the same directory as form a.

  • Is it somebody Except for me Who has problems With waching videos on ipad after the 5.0.1 update

    Is it somebody Except for me Who has problems With waching videos on ipad after the 5.0.1 update

    Hi,
    yes I have big problems as soon as I open the video app i get a total black screen, even the upper bar with the time disappears. I already tried to:
    1. closing the app and reopen it
    2. restart the iPad
    3. restore the iPad via iTunes
    4. Begging the app to work again.

  • Very big problem with JSF about FORM and "id=" for HTML form's elements and

    I have discovered a very big problem with JSF about FORM and "id=" for HTML form's elements and java instruction "request.getParameterNames()".
    Suppose you have something like this, to render some datas form a Java Beans :
    <h:dataTable value="#{TablesDb2Bean.myDataDb2ListSelection}" var="current" border="2" width="50%" cellpadding="2" cellspacing="2" style="text-align: center">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name"/>
    </f:facet>
    <h:outputText id="nameTableDb2" value="#{current.db2_name_table}"/>
    </h:column>
    </h:dataTable>
    Everything works fine...
    Suppose you want to get the name/value pairs for id="nameTableDb2" and #{current.db2_name_table} to process them in a servlet. Here is the HTML generated :
    <td><span <span class="attribute-name">id=<span class="attribute-value">"j_id_jsp_1715189495_22:0:nameTableDb2">my-table-db2-xxxxx</span></td>
    You think you can use the java instructions :
    Enumeration NamesParam = request.getParameterNames();
    while (NomsParam.hasMoreElements()) {
    String NameParam = (String) NamesParam.nextElement();
    out.println("<h4>"++NameParam+ "+</h4>);
    YOU ARE WRONG : request.getParameterNames() wants the syntax *name="nameTableDb2" but JSF must use id="nameTableDb2" for "<h:outputText"... So, you can't process datas in a FORM generated with JSF in a Servlet ! Perhaps I have made an error, but really, I wonder which ?
    Edited by: ungars on Jul 18, 2010 12:43 AM
    Edited by: ungars on Jul 18, 2010 12:45 AM

    While I certainly appreciate ejb's helpful responses, this thread shows up a difference in perspective between how I read the forum and how others do. Author ejb is correct in advising you to stay inside JSF for form processing if form processing is what you want to do.
    However, I detect another aspect to this post which reminds me of something Marc Andreesen once said when he was trying to get Netscape off the ground: "there's no such thing as bad HTML."
    In this case, I interpret ungar's request as a new feature request. Can I phrase it like this?
    "Wouldn't it be nice if I could render my nice form with JSF but, in certain cases, when I REALLY know what I'm doing" just post out to a separate servlet? I know that in this case I'll be missing out on all the nice validation, conversion, l10n, i18n, ajax, portlet and other features provided by JSF".
    If this is the case, because it really misses the point of JSF, we don't allow it, but we do have an issue filed for it
    https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=127
    If you can't wait for it to be fixed, you could decorate the FormRenderer to fix what you want.
    I have an example in my JSF book that shows how to do this decoration. http://bit.ly/edburnsjsf2
    Ed

  • Problems with result area in workbooks after upgrade to BW 3.5

    Hi,
    we are experiencing some problems with our <b>workbooks</b> after the upgrade to BW 3.5. When refreshing all queries in a workbook (that was there before 3.5) without selecting a specific query we get the message <b>'Result area</b> cannot be found, specify a new one'. After selecting, the message appears again in an infinite loop.
    Has anybody had similar problems and has found a solution for this?
    Thanks,
    EMS

    Hi,
    I am having that message, always if I delete a Sheet which contains an embeded query.
    Even the sheet is deleted, the SAPBEX has information of all the embeded queries, and tries to find the Result area to put the data.
    To find out if this is your case as well,
    select an empty cell in a Sheet and continue like that, until all the embeded queries are been displayed.
    Regards
    Vasso
    Message was edited by: VASSILIKI SIAGRI

  • I have problem with Access Connections on L412 after that utilyty upgrade

    I have problem with Access Connections on L412 after that utilyty upgrade in early August. Windows 7 Ultimate/x64.
    It stops connecting to WPA2 Enterprise (AES-CCMP), Microsoft PEAP, no server cert, with any credentials I try to use. The same account(s) works with native Intel manager on other notebooks and on mobile devices. I lost the wireless connectivity to enterprise WiFi network.
    And, after deinstallation of Access Connections, the inability to connect keeped intact with native Win7 WiFi management.
    I think, something was broken in Access Connections 5.83 Build 83C753WW and some registry settings/ dll modules were altered but not returned to normal after deinstall.

    Access Connections is definitely broken for WPA encryption.  Both versions 5.02 and 5.84 fail for me.  If I use the Windows XP wireless configuration instead of Access Connections, everything works.
    Does anyone know how to report this to Lenovo?  I chased links around the web site but couldn't find a place.

  • I downloaded OS X Lion on my iMac and I'm having problems with my computer waking up after hibernating.  I can get to the login screen but my mouse will be frozen.  The only fix's is a hard reboot.  Any help would be great!

    I downloaded OS X Lion on my iMac and I'm having problems with my computer waking up after hibernating.  I can get to the login screen but my mouse will be frozen.  The only fix's is a hard reboot.  Any help would be great!

    Try resetting the SMC and the PRAM.
    1. SMC
    Read this and follow the instructions for your kind of mac:
    http://support.apple.com/kb/HT3964
    2. PRAM
    Follow the procedure below:
    1. Power down the machine.
    2. Locate the following keys on your keyboard in preparation for Step 4:
    command–option–P–R
    3. Press the ‘power on’ button.
    4. Immediately – and before the grey screen appears – hold down ‘command-option-P-R’ all together.
    5. Keep them held down until you’ve heard the start-up chime twice. After you release them you should hear it again, and hopefully your Mac will boot up as it should normally.

Maybe you are looking for

  • Why do pre-orders in ibook store no longer show up on ipad

    I have noticed that now when a pre-order book is selected that when you go to your purchases on Ipad that it no longer shows any pre-orders as it did before.  Does anyone know how to access pre-order that you have made from you ipad?

  • Do I need to give up on Acrobat for the Mac?

    I am using Acrobat Professional 8.1.2 on an Intel Mac with OSX 10.5.2. Under Office 2004, I am unable to get documents through the Distiller properly. Two examples: i) I have a one page Excel file that has a couple hyperlinks in it. Distiller starts,

  • Resubmitting the fault messages from ESB Portal

    Hi, We are facing some changes in Resubmission process in ESB Portal. When we try to resubmit the fault message in ESB Portal we are getting the error and there is nothing available in the event viewer The resubmission failed: 500 - InternalServerErr

  • Disk Utilization for 0 C: D: E: is 99.61%, crossed warning (80) or critical

    Hi, I have windows 2008 R2 64 bit OS and database version is 11.1.0.7.0 64 bit ... I got the below error via EM. Target Name=ORSDEV.xxxdomain.com Target Type=Host Host=ORSDEV.xxxdomain.com Metric=Disk Device Busy (%) Metric Value=99.61 Disk Device=0

  • Compressor dvd export not working

    Compressed a file (55 minutes in ProREs 422) to both Vimeo and DVD MPEG 2. The DVD file freezes Quicktime after it is done. THe first try it took 32 minutes, but the second time it only took 4 minutes. The file has the wrong length (shows 1:58:00) an