ADF BC , lock the rows sometimes and do release it

Hi
thank you for reading my psot
i think ADF BC sometimes lock my Rows in table and does not allow other to change them , sometimes the lock goes too long time without any reason
(a record insert lock the rows until i restart the APPS) i should say that during record insert and commit may some exception occurs that prevent the ADFBC to commit the changes.
should it be like that ?
thanks

Are you seeing this problem in the Business Components tester?
Can you reproduce in a simple case?
Is there a specific JBO error appearing?
Regards
Grant Ronald
Oracle Product Management

Similar Messages

  • Is executeQuery() locking the rows?

    Hi,
    Is executing the following statements lock the rows in database even if myView is a sql_only view? On the other words is executeQuery() locking the rows implicitly?
    myView.setWhereClause(....where clause...);
    myView.executeQuery();
    please advice.Thanks.

    Steven, That's good for me to hear this performance problem is not coming from the executeQuery() method. Let me explain more about this, maybe this is something in application module setting that I am not aware of that.
    I have a jsp page, that gets view object name as a parameter. At the top of this page an application module and the view object instantiated using tags approach. Then the java code reads all the columns from the view using myView.getAttributeDefs() and
    Shows the columns name along with a input box for each( like query page created by wizard). User could define the values in those input boxes. Then the code constructs the WHERE clause based on values entered by user ( and columns name came from the view definition) . at the end when user click on a button( named Find), the page sets the WHERE clause and executes the query and sets the view object based on user defined WHERE clause at runtime ( similar to query page created by wizard).
    Problem:
    Example1 : Pretend client1 clicks the Find button and the page is executing the executeQuery() method. If at this time client2 calls this page, the page loads fast but the columns shows after a delay. this delay is depend on how fast the executeQuery() is. ( this is my understanding, not sure).
    Example2 : Pretend the query takes 2 seconds to be executed when only one client fires that using this page. But takes 10 seconds if two clients at the same time click on the Find button on that page at the same time(after they entered the values on input boxes). And that’s maybe more for three clients.
    On the other words when the executeQuery() is executing for one client, the entire application locks( else where fires the executeQuery() ) for the other clients until the first one released. That’s why I guess ( just guess) this is maybe the behavior of the executeQuery(). Hope this guessing is not true. But what else could be. Is any parameter in application module that need to be altered? Or something on web server (9iAS)?
    Please advice me, even if you are agree or disagree with my guess.
    Thanks for your advice.

  • How to print the row  ,column,and particular cell in separate color

    how to print the row  ,column,and particular cell in separate color IN ALV GRID

    HI,
    Here you go good program links
    <a href="http://www.sapfans.com/forums/viewtopic.php?t=52107">How to Set Color to a Cell in AVL</a>
    <a href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm">ALV Grid Coloring</a>
    Thanks
    Mahesh

  • PWA 2010 timesheet: 2 different colors for the rows "Actual " and "Planned

    Hello,
    To make timesheet easier to read and fill, is it possible to have 2 different colors for the rows “Actual “ and “Planned”?
    Thanks,
    soudha

    Hello Soudha,
    By default the timesheet grid shows the cells in white color. But if you have little coding skills or a developer at your end, you can try this using "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\JsGrid.js" java
    script file.
    You may have to modify it but I recommend to take a backup of the file and test in your test environment first.
    Happy troubleshooting.....
    Vikram Daruru - MSFT

  • CKPT locks the system objects and blocks other sessions

    CKPT locks the system objects and blocks other sessions
    Oracle Version 10.2.0.4
    OS : HP UX 11.31 Itanium
    SQL> select * from v$lock where block=1;
    ADDR KADDR SID TY ID1 ID2 LMODE
    REQUEST CTIME BLOCK
    C0000009FCC2B348 C0000009FCC2B368 1100 RO 65559 1 2
    0 3877 1
    SQL> select program from v$session where sid=1100;
    PROGRAM
    oracle@ctqanhr1 (CKPT)
    As a workaround we flush the buffer cache with the below command
    SQL> alter system flush buffer_cache;
    however the issue reoccurs after some times.
    Edited by: 965132 on Dec 2, 2012 9:59 PM

    other reference:
    CKPT Questions
    The temporary workaround is to set "_db_fast_obj_truncate"=FALSE in that particular case.
    Regards,
    sgc
    Edited by: Samuel G. Cristobal on 03-dic-2012 8:48

  • How to lock the rows in program

    how to lock the rows in program

    Do not create a duplicate thread.
    many had already answered your query here.
    how to lock the rows in program
    Regards,
    Prazy

  • If I locked the restrictions settings and thought I knew the password but didn't apparently, is there a way to unlock it now? How?  HELP!

    If I locked the restrictions settings and thought I knew the password but didn't apparently, is there a way to unlock it now? How?  HELP!

    If you've forgotten the code, then was it on the iPad when you last synced/backed up to your computer's iTunes ? If not then you can restore to your backup. If it was on the iPad when you last backed up then you will need to reset the iPad - there is no way to override the code, and if it is on the backup then restoring to it will keep the code in place.

  • HT1414 i think my iphone 4s has a damaged software because it locks the phone always and powers it off without touching the power button. how can i rectify this problem?? i already tried erasing all the settings and content of the phone. thanks..!

    i think my iphone 4s has a damaged software because it locks the phone always and powers it off without touching the power button. how can i rectify this problem?? i already tried erasing all the settings and content of the phone. thanks..!

    This is a user to user help forum only. You are not addressing Apple here.
    My iPhone 4S, iPhone 5, and iPad 2 are running 6.1.3 with no such problem and the same with the overwhelming majority of iOS devices running 6.1.3.

  • How to lock the rows in a transaction so others cant modify the rows

    Hi,
    I want few suggestion in the following scenario .
    I have a few records ( say 100 ) in a table which Im sending to the client over a network and are populated in a swing GUI...Now the client selects few of them ( say 3 ) and submits to the server. Now the server should assign a number to those rows and store them in the database. As it is a multi client environment While assigning the number it should check that no other client has already assigned a number to at lease to one of the row in the meantime. in that case it shoudl fail.
    In this case i want to lock those 3 records when the request arrives at the server assign number commit and release the lock.
    I want to avoid deadlocks.
    Can any one suggest me whoch locking policy should i use and how ?
    Thanx in advance...
    Mahi

    It depends on how acceptable it is for your commit to fail. By far the easiest and safest thing to do is use Optimistic Locking. This way if the server tries to commit changes to something that has already been committed, an Optmistic Lock exception will be thrown. It's up to your application to handle this, and depending on your domain and the likelyhood of this happeneing, you could just tell the user "try again". The other option is pessemistic locking, which is very, very, dangerous (in my opinion). The main issue is that it's resource intensive, and different databases have different semantics on how it works.
    IIWY, I'd look at Optimistic Locking in the docs and go from there.
    - Don

  • Capturing the row selector and perform logical delete

    Hi All ,
    I add a tabular report in one of my page .But in the MULTI_ROW_DELETE button I like to capture the checkbox (row selector) and fire a PL/SQL anonymous block where rather than performing actual row delete it will update a database field and perform some sort of logical delete .
    Now my problem is I cant able to capture that what are the rows need to be logically deleted :
    DECLARE
    vRow BINARY_INTEGER;
    BEGIN
    FOR i IN 1 .. apex_application.g_f01.COUNT
    LOOP
    vRow := apex_application.g_f01(i);
    update test123 set delete_flag='y' where col2=vRow ;
    end loop;
    end;
    Its throwing error .Can anyone help on this pls how to write the pl/sql code to perform the logical delete.
    Thanks in advance ,
    Regards,
    Debashis.

    Guys ,
    Got the solution by searhcing several of the therads from Denes...
    Create the checkbox from Form page :
    htmldb_item.checkbox(1,t.USERNAME) DeleteItem,
    and then captured it as :
    FOR i in 1..HTMLDB_APPLICATION.G_F01.count
    LOOP
    UPDATE table1 set DELETE_FLAG='Y'
    WHERE USERNAME = HTMLDB_APPLICATION.G_F01(i);
    END LOOP;
    Cheers,

  • My kid locked the touch screen and it wont unlock?? help

    my daughter took her iphone 3g to school and a fellow class mate locked the phone and does not know the password? How can I reset the phone with out getting the thing to lock up for an hour??

    Will have to be restored via iTunes. Don't let it sync before you restore it thus it will restore with your last backup (before the code was put on).
    If you do accidently sync (or already did) then you will have to restore and choose NOT to load backup else it will put the code back. Thus you have to reset all settings and preferences again and lose any saved data (eg: notes, app settings, etc...but you can sync back contacts and media etc).

  • Why my whatsapp will freeze on the icon sometimes and i need to reinstall my whole app?

    Hi guys, I'm having a problem of my whatsapp that i purchased will freeze and unable to go inside the app ? anyone has this problem too? Pls assist my problem .Thanks

    If no change after powering the iPhone off and on, as when there is a problem with a 3rd party app on your computer, you contact the app developer for a problem with their app. In this case, that would be WhatsApp.

  • Should we lock the desktop thread and start some new ones?

    Lets face it, you can't read the whole thing now anyway!
    I propose that we retire it and start some new threads for desktops based on WM/DE environment, so we'd have a thread each for:
    · xfce
    · gnome
    · kde
    · *box
    · fvwm
    And others that anyone can think of.  The strength of this idea is it's biggest weakness - easy to see screenies for different desktops but you have several thread to view and can't look at it all together - but what are tabs for eh?
    Vote soon!

    miqorz wrote:I think it's a terrible idea and only creates a great way to be ignorant and delusional of every other desktop enviroment and window manager.
    This is so typical of you miqorz - ignorance and ignorant behaviour, as you often clearly demonstrate, is something that some people will be just be prone to.
    miqorz wrote:I wouldn't have made my recent "switch" to xfce if it hadn't been for screenshots I didn't seek.
    Why do you assume everyone is as narrow minded and cynical as you?
    Even if we keep it in one thread most people post links to their screenies along with an "XFCE and torsmo..." type intro - what forces such ignorant people to follow the links?  Nothing.  So...that's a stupid arguement.
    I like the idea of monthly threads and i agree that loads of seperate threads could produce TOO many BUT we could limit it to a few specifics and then "Others" - how many ion or wmii people actually post their screenies frequently?
    The poll is looking very much in favour of the switch at the moment!
    I think we may hold another shorter poll afterwards tho - monthly vs individual

  • Lock the first row in an ordered table

    Hi,
    I have a table (TD_EVENTOS). I want to lock the row with te minimun value of a column (a timestamp called hora_evento) and some requirements of other columns. Then i build a cursor like this:
    CURSOR c is select * from td_eventos where (...) order by hora_evento for update skip locked;
    And then I make a fetch into this cursor and I get the row (locked) that I want. But i need the speedest way, and making that cursor it orders all rown in the table (when I only want the first row without lock) and when that table has 6000 or 7000 rows it wastes around 130 ms. My solution is to add to the WHERE a AND rownum < 50, and it only orders 50 rows (in 10 ms), but it orders 50 aleatory rows, and that`s not what I want.
    Any solution faster?
    Thanks!

    Sorry that wasn't clear of me and could be misleading. I didn't mean Oracle would have to do a full table scan, another access path such as an appropriate index scan would do. I was trying to get across that to do any kind of order or min or max, all records have to be investigated. Since the fact that you don't know a row is locked until you try to lock it, you clearly can't filter on it (it's not a data attribute).
    Apologies for any confusion my earlier post might have caused.
    The suggestion about using a sorted hash cluster still stands though, they are designed for FIFO queues.
    Which reminds me - SKIP LOCKED is in fact undocumented but everybody knows that Oracle use it internally for doing AQ. Since it's undocumented, you don't know how it works, when it will work, when it won't and of course Oracle can turn around and say "we don't support this".

  • Summing the Rows and Columns in an Array

    I am importing a 2-dimensional array of integers.(which is held in a 2-dimensional array)
    I need to store the row sums and column sums in separate 1-dimensional arrays.
    I can get the integers in and print out a list along with the grand total(sum of all).
    But, how do I pass each row's and each column's value in to my sumRow and sumCol methods to get the sum for each row and each column?
    Can I do the row and column summing in the same "for" statement where I calculate the "grand total"? Or am I making this more difficult than it is?
    Would appreciate any help.
    This is what I have so far:
    import java.awt.Graphics;
    import java.applet.Applet;
    public class TwoWayTable extends Applet {
         int numRows;
         int numCols;
         int [] [] cell;
         int [] rowSum;
         int [] colSum;
         int grandTotal;
    public TwoWayTable(int [][] data){
    grandTotal = 0;
    cell = new int [data.length][data.length];
    for(int i = 0; i < data.length; i++)
    for(int j = 0; j < data.length; j++){
         cell[i][j] = data[i][j];
    grandTotal += cell[i][j];
         System.out.println(cell[i][j]);
    System.out.println(grandTotal);
    public int sumRow(int [] data2){
         int rowaccumulator=0;
         rowSum = new int[data2.length];
         for(int numRows = 0; numRows < rowSum.length; numRows++){
         rowaccumulator += rowaccumulator + rowSum[numRows];
              return(rowaccumulator);
    public int sumCol(int [] data3){
         int colaccumulator = 0;
         colSum = new int[data3.length];
         for(int numCols = 0; numCols < colSum.length; numCols++){
              colaccumulator += colaccumulator + colSum[numCols];
              return(colaccumulator);

    Thanks for your input.
    I'll make the changes that you suggest.(after this)
    My output prints:
    4 6 3 8 21
    9 1 5 3 18
    13 7 8 11 39
    numbers are right, but I need to format the table
    the output needs to look like this:
    int int int int | rowsum
    int int int int | rowsum
    colsum colsum colsum colsum | total
    How do I do this?
    I have no idea?
    I'm supposed to call a "void setMargins( )" method to line this up, without
    using the exotic formatting in the IO library.
    I'm also supposed to use "public String toString( )"
    This is what I have so far:
    import java.awt.Graphics;
    import java.applet.Applet;
    public class TwoWayTable extends Applet {
    int numRows;
         int numCols;
         int [] [] cell;
         int [] rowSum;
         int [] colSum;
         int grandTotal;
    public TwoWayTable(int [][] data){
    cell = new int [data.length][data.length];     
    for(int i = 0; i < data.length; i++){
    for(int j = 0; j < data.length; j++){
         cell[i][j] = data[i][j];
    calcTotals(cell);
    for(int i = 0; i < cell.length; ++i){
    for(int j = 0; j < cell.length; ++j){
    System.out.print(cell[i][j] + " ");
    System.out.println(rowSum[i] + " ");
    for(int j = 0; j < cell.length-1; ++j){
    System.out.print(colSum[j] + " ");
    System.out.println(colSum[cell.length-1] + " " + (grandTotal));
         public void calcTotals(int [][] data2){
              grandTotal = 0;
              rowSum = new int[data2.length];                         
              colSum = new int[data2.length];                         
              for(int numRows = 0; numRows < data2.length; numRows++){
              for(int numCols = 0; numCols < data2.length; numCols++){
                   grandTotal += data2[numRows][numCols];               
                   rowSum[numRows] += data2[numRows][numCols];
                   colSum[numCols] += data2[numRows][numCols];

Maybe you are looking for

  • Can't pass event from WebDynPro to JspDynPage - why?

    I Created JSP project and embedded in main page script (in its title), which subscribes to event by EPCM API, EPCM.subscribeEvent("urn:ru.intertech.common.wd.component", "save",   go); and created WebDynPro page that fires event using, when pressing

  • Dock freezes

    About two weeks after I updated to 10.4.11 I experienced a problem: Dock freezes totally, only thing that helps is to force the iMac to shut down, since the frozen Dock prevents normal logout/restart/shutdown process (during these, the system starts

  • How to disassemble one-button Pro Mouse?

    This is probably a strange question and I'm trying to avoid spending $40-50 on a replacement mouse. My son's one-button Pro Mouse is jammed up in the bottom edge with trapped dirt. I guess it's the equivalent of a gummed up mouseball back in the day.

  • I hit the wrong entry for find my ipad, I hit the iphone, how do I get it to correct

    I hit the wrong entry for "find my ipad, how do i get it to correct

  • Error while Filling custom extended idoc

    i have extended segment e1edpa1 with ZLOC segment in INVOIC01 idoc .now i'm filling this extended idoc from exit EXIT_SAPLIEDI_101 but it is giving me error like "EDI: Syntax error in IDoc (mandatory segment missing)" can anyone tell me what could be