How to include new inserted row in cursor

Hi ...
Is there anyway to include new inserted row into opened cursor ?
consider the following code:
declare
cursor tbl_cur is select * from table1;
-- table1 has two fields: no and name --
begin
for tbl_rec in tbl_cur
loop
-- if I insert some records here into table1, is there anyway that those just inserted records be included in tbl_cur so that can be proceed in for loop ? or anyway to include new inserted rows into opened cursor ?
end loop;
end;
anyone response is highly appreciated.
Thank You,
SK.
null

If you re-open the cursor in another loop, the rows that you inserted in the previous loop will be included, along with the original rows.
DECLARE
CURSOR tbl_cur
IS
SELECT *
FROM table1;
BEGIN
FOR tbl_rec IN tbl_cur
LOOP
INSERT INTO table1 (no, name)
VALUES (tbl_rec.no + 1, 'test');
END LOOP;
FOR tbl_rec IN tbl_cur
LOOP
-- the rows you inserted in the loop
-- above will be included here
-- with the original rows
END LOOP;
END;
null

Similar Messages

  • How to include the insert picture option in the PDF form?

    Hi, Can some one please help How to include the insert picture option in the PDF form? I am using acrobat XI pro and trying to use an evaluation form which requires to insert product pictures.

    Here's a link to a previous topic where this was discussed: http://forums.adobe.com/message/6050458

  • How to include the first row of detail in every xquery transformed xml?

    I am dealing with a XML file,where i need to publish to different BS.
    First node will be a common node node which contains vital info,second node goes to one BS and third goes to another BS.
    *<header></header>*
    *<details></details> (they are unbounded, but the first detail tag which comes in the input file is a mandatory tag in such a way that it needs to be included in every transformed message)*
    *<trailer></trailer>*
    We need to apply x query transformation on it in such a way:
    *</header></header>*
    *<1st detail></1st detail>*
    *<detail></detail> (2nd row of detail in input file)* -------------------------> Goes to BS1
    *<trailer></trailer>..*
    *<header></header>*
    *<1st detail></1st detail>*
    *<detail></detail> (3rd row of detail in input file)* ----------------------------->Goes to BS2
    *<trailer></trailer>*..
    And so on.
    Now, the problem is how to include the first row( *1st detail* ) of detail in every xquery transformed xml?

    are you looping of this input with a for each?
    /yourdata/details[1] should return always the first detail element.
    or before the for each do an assing of this first detail element to "generic_details_var"
    and use this var in every looping iteration (in an assign or as input for xquery)

  • How to Commit before Insert Row when Press Create Insert Button ?

    Hi all;
    I'm Using JDev 11.1.1.2.0
    How to Commit before Insert Row when Press Create Insert Button in ADF11g?
    <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
    text="CreateInsert"
    disabled="#{!bindings.CreateInsert.enabled}"
    id="cb8" />
    best regards;

    You need to do a custom method eather in managed bean or in Application module to do that.
    in managed bean it would be something like:
    public void CommitAndInsert(ActionEvent actionEvent) {
    OperationBinding opCommit = ADFUtils.findOperation("Commit");
    opCommit.execute();
    OperationBinding opCreateInsert = ADFUtils.findOperation("CreateInsert");
    opCreateInsert.execute();
    In page bindings Commit and CreateInsert must exist
    then the button actionListener will be
    <af:commandButton actionListener="#{backing.CommitAndInsert}"

  • How to include new fields in PRICAT

    Hi,
    My aim is to import a new field to the PRICAT price catalogue, and be able to
    maintain this field in transaction W_PRICAT_MAINTAIN.
    I have entered the new field in table PRICAT_K003 (using an append structure),
    and have used the Badi implementation WRF_PRICAT_DIALOG to include the new field in the ALV report definition for transaction W_PRICAT_MAINTAIN. For this purpose I also included the field in structure WRF_PRICAT_K003_STY.
    However, when trying to make the necessary changes to copy the field content  from PRICAT_K003 to the new screen field, I encounter a few problems.
    For this I have created a new Badi implementation for Badi definition
    WRF_PRICAT_POOL, method IF_EX_WRF_PRICAT_POOL~EXTEND_ARTICLE_MASTER.
    This method uses parameter io_inbound_item (type ref to CL_INBOUND_ITEM). The field doesn't seem to be visible in any of the available structures in this method. I have attempted to include the new field in some of the other structures (in addtion to WRF_PRICAT_K003_STY), but have been told by the system not to do this.
    Any suggestions on how to solve this problem?
    If there is anybody out there who have a description on how to import new fields
    into PRICAT and further on to the article master, I would very much appreciate if you could pass it on to me.
    Best regards,
    Per Erik Fjelde

    Hi,
    I have a similar problem with inbound pricat. I extended PRICAT_K003 with a few custom fields. These fields are filled using a BAPI table extension and implementing IF_EX_PRICAT_IN_EXTIN. The fields show up correctly in W_PRICAT_MAINTAIN and are also filled when I look in the database table. But when I create an article master from an entry in the pricate catalogue, all custom fields are cleared. I wanted to use IF_EX_WRF_BADIPRE_POST_MAT~PRICAT_PRE_POSTING_PROCESS to transfer the custom fields to MARA, but the incoming structures of the method only include blank custom fields.
    So I found IF_EX_WRF_PRICAT_POOL, but it's methods include only structures which are not extendable. So I don't see how I can preserve the data in my custom fields.
    Per Erik, have you found a solution for your problem?
    Is there anybody else out there who knows how to transfer custom fields from the price catalogue to material master data?
    Best regards,
    Holger Merk

  • How to fetch last inserted row in MySQL

    Hi,
    I am trying to get the last inserted row in MySql..but not able to fetch it.
    this is what i used
    i have one column order_id which is auto_increment
    SELECT * FROM tablename WHERE order_id=(SELECT MAX(order_id) FROM tablename)
    any help is appreciated .
    the usage of lastinsert() method is also not successful
    chintan

    Hello
    Given you have a date column, you can use it to determine the latest row. However, there is still a chance that two rows were inserted at exactly the same time in which case you will need something in addition to your date column to decide which is the latest...
    The first option uses a sub query and the second uses analytics, as does the 3rd - however with the 3rd, if 2 rows have exactly the same date and time, it will pick one at random unless you include another column in the order by to determine the latest...
    select
    FROM
        your_table
    WHERE
        your_date_column = (SELECT MAX(your_date_column) from your_table)
    SELECT
    FROM
            select
                a.*,
                MAX(your_date_column) OVER() max_date_column
            FROM
                your_table a
    WHERE
        your_date_column = max_date_column
    SELECT
    FROM
            select
                a.*,
                ROW_NUMBER OVER(ORDER BY your_date_column DESC) rn
            FROM
                your_table a
    WHERE
        rn = 1HTH
    David

  • How to get the inserted row primary key with out  using select statement

    how to return the primary key of inserted row ,with out using select statement
    Edited by: 849614 on Apr 4, 2011 6:13 AM

    yes thanks to all ,who helped me .its working fine
    getGeneratedKeys
    String hh = "INSERT INTO DIPOFFERTE (DIPOFFERTEID,AUDITUSERIDMODIFIED)VALUES(DIPOFFERTE_SEQ.nextval,?)";
              String generatedColumns[] = {"DIPOFFERTEID"};
              PreparedStatement preparedStatement = null;
              try {
                   //String gen[] = {"DIPOFFERTEID"};
                   PreparedStatement pstmt = conn.prepareStatement(hh, generatedColumns);
                   pstmt.setLong(1, 1);
                   pstmt.executeUpdate();
                   ResultSet rs = pstmt.getGeneratedKeys();
                   rs.next();
    //               The generated order id
                   long orderId = rs.getLong(1);

  • How to include new functionality into WAS

    Hi,
    how can I include new functionality from external C sources into WAS.
    I mean a my own functions callable from ABAP by statement "CALL cfunc" (call system function) ?
    Thanks.
    Marian

    Hi,
    You may want to use RFC for the same.
    Check this link:
    http://help.sap.com/saphelp_nw70/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm
    Regards,
    Siddhesh

  • How to include new fields for output conditions

    Dear Gurus,
    I want to maintain the field "kunag" in output condition table.But it's displaying in allowed filedcatalog but at the time of creating condition table it's not showing there.Please advice me.
    Thanks
    Hari

    HI TRY TO ADD THE FILED TO CONDITION TABLE  and refer below it may helps you
    <b>please click on the link</b>
    <a href="http://www.sap-basis-abap.com/sd/how-to-add-new-fields-to-field-catalog.htm">Adding New field</a>
    Message was edited by:
            SHESAGIRI GEDILA

  • URGENT: How to see the inserted row results in the ResultSet after an insertRow()?

    I want to see the inserted row in my result set immediately after I do an insertRow(). I don't want to do another select as my table has 100,000 records. I am using TYPE_SCROLL_SENSITIVE and CONCUR_UPDATABLE resultset with 8.1.7 thin driver.
    May be the driver does not support this because dbmd.ownInsertsAreVisible(ResultSet.TYPE_SCROLL_SENSITIVE)) always returns false. I just want to know is there a workaround or any solution for this problem. I would really appreciate if somebody could help me. Thanks in advance.

    Okay, first execute the query reqd. Then make whatever filters, navigational changes etc that are reqd. Once you are satisfied with the view of the data that you see on the screen, then from the Bex toolbar, click the Save button (Second from left) and choose the option Save as View Global. Give it a decsription and technical name.
    Hope this helps...

  • Inserting rows in cursor and breaking up when effect date matches

    Hi
    I have created a table cadreinc (empno varchar2(8), pay number(5), da number(5) , scale varchar2(11), effectdate date , flag varchar2(1)) with values as shown below.
    04485816      12800     4200     09300-34800      1-Jan-2006     Y
    04485816      13000     4200     09300-34800      1-Jul-2006     Y
    04485816      13450     4600     09300-34800      27-Sep-2006     Y
    04485816      13675     4600     09300-34800      1-Jul-2007     Y
    04485816      14200     4600     09300-34800      1-Jul-2008     Y
    04485816      14650     4600     09300-34800      1-Jul-2009     Y
    I just want to manipulate data into another table by using this data and i want the result as
    04485816 12800 4200 09300-34800 01-jan-2006
    04485816 12800 4200 09300-34800 01-feb-2006
    04485816      13000     4200 09300-34800 1-Jul-2006     
    04485816 13000 4200 09300-34800 1-aug-2006
    like data reproduced on every month and get changes in value based on the effect date.
    how to write pl sql program for this??
    I have tried some what like
    DECLARE
    EMP VARCHAR2(8);
    PAY NUMBER(5);
    GP NUMBER(5);
    SCALE VARCHAR2(11);
    INC date;
    PAD VARCHAR2(11);
    FL VARCHAR2(1);
    CURSOR A IS SELECT EMPNO,VIPAY,GRADEPAY,VISCALE,INCDATE,FLAG FROM CADREINC;
    BEGIN
    <<i_loop>> FOR I IN A LOOP
    INC:=I.INCDATE;
    FL:='Y';
    <<j_loop>> FOR K IN 1..12 LOOP
    INSERT INTO CADREFIX ( EMPNO,VIPAY,GRADEPAY,VISCALE,INCDATE) VALUES
    (I.EMPNO,I.VIPAY,I.GRADEPAY,I.VISCALE,I.INCDATE);
    I.incdate:=LAST_DAY(I.INCDATE)+1;
    EXIT j_loop WHEN pay>i.vipay and inc=i.incdate and fl='Y';
    --EXIT WHEN INC='01-JUL-2010'; 
    END LOOP;
    -- i.INCdate:=LAST_DAY(I.INCDATE)+1;
    EXIT i_loop WHEN pay>i.vipay and inc=i.incdate and fl='Y' ;
    END LOOP;
    COMMIT;
    END;
    but unable to get the desired results. The pay comes for every 12 months instead of upto effect date.
    Please help.

    Hi,
    Welcome to the forum!
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    If you're asking about a DML statement, such as INSERT, the CREATE TABLE and INSERT statements should re-create the tables as they are before the DML, and the results will be the contents of the changed table(s) when everything is finished.
    Always say which version of Oracle you're using.
    See the forum FAQ {message:id=9360002}
    Here's one way to do what you want in pure SQL. Since I don't have your table, I'll use scott.emp to show the way:
    WITH     data_by_month     AS
         SELECT       TRUNC (hiredate, 'MONTH')     AS hiremonth
         ,       COUNT (*)                  AS cnt
         FROM       scott.emp
         GROUP BY  TRUNC (hiredate, 'MONTH')
    ,     got_repeat_num     AS
         SELECT     hiremonth, cnt
         ,     MONTHS_BETWEEN ( LEAD (hiremonth) OVER (ORDER BY hiremonth)
                          , hiremonth
                          )     AS repeat_num
         FROM    data_by_month
    SELECT       ADD_MONTHS ( r.hiremonth
                     , c.column_value - 1
                   )                 AS report_month
    ,       cnt
    FROM          got_repeat_num  r
    CROSS JOIN     TABLE ( CAST ( MULTISET ( SELECT  LEVEL
                                                  FROM        dual
                               CONNECT BY     LEVEL     <= r.repeat_num
                         AS sys.odcinumberlist
                    )  c
    ORDER BY  report_month
    ;You can use a query like this in an INSERT or MERGE statement.
    If you need to use PL/SQL, then you can use an INSERT or MERGE statement, with a sub-query like the one show above, in PL/SQL.

  • How to include newer version of jQuery in APEX 4.1?

    Hi,
    I've included a newer version of jQuery and jQuery-UI in my page template according to APEX documentation (after #HEAD# in page template). However I am having some issues, for example the datepicker doesn't work anymore.
    I've created an example here [url http://apex.oracle.com/pls/apex/f?p=47057:1]http://apex.oracle.com/pls/apex/f?p=47057:1. You can't select a date from the datepicker after it has been displayed on the screen.
    Any help is greatly appreciated.
    Regards,
    Jure

    Thank you all for help, from your posts I was able to get the datepicker working with a different version of jQuery (but not jQueryUI) included on the page. There are two methods:
    1. Include the new library before #HEAD# and change the reference to a different variable, for example:
    <script src="jquery-1.6.4.min.js" type="text/javascript"></script>
    <script type="text/javascript">
      var jq164 = jQuery;
    </script>
    #HEAD#2. Include the new library after #HEAD# and enable noConflict() mode, for example:
    #HEAD#
    <script src="jquery-1.6.4.min.js" type="text/javascript"></script>
    <script type="text/javascript">
      var jq164 = jQuery.noConflict(true);
    </script>In both examples above, $, jQuery and apex.jQuery point to apex jQuery, while jq164 points to the new one.
    However, I couldn't manage to include a newer version of jQueryUI. I only found a page ([url http://stackoverflow.com/questions/6358961/using-multiple-jquery-ui-versions]http://stackoverflow.com/questions/6358961/using-multiple-jquery-ui-versions) that says you have to specify a different context for each version of jQueryUI included on the same page. I haven't yet had time to look at this, so if anyone already knows how to do it, it would be really nice to share it with us.
    Regards,
    Jure

  • How to include new driver and configure datasource in NW 7.0

    Hi,
    I have deployed my application in the app server and now i need to add the ms sql drivers to the application server and configure datasource to it.
    Can any one help me to configure the datsource in Nw 7.0 and also how to add the driver files tp app server..?
    thanks in advance
    jayakumar

    Hi,
    Follow these links:
    How To Install and Configure External Drivers for the JDBC & JMS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f
    http://saphelp.border-states.com/EN/b3/cc633c3a892251e10000000a114084/content.htm
    http://www.sapag.co.in/JDBC%20Adapter-Type2JDBCDriver%20Deployment.html
    Regards,
    Nithiyanandam
    Reward points

  • Query the new inserted but not committed row join with db

    Hi,
    I have one vo based on two EOs, one is for update and another is for reference. When inserting a new row, is there any way I can retrieve the data from the reference EM based on the join condition for the new inserted row from the reference EO. If the inserted row is committed, it is not an issue. Before the commit, the join is between the memory and db. I tried to set the VO query mode to
    ViewObject.QUERY_MODE_SCAN_ENTITY_ROWS|ViewObject.QUERY_MODE_SCAN_UNPOSTED_ENTITY_ROW, it does not get the column values from the reference EO.
    If I use sql, I insert row in one table, then join query this table and another table, within the same transaction, I can get the new row joining with other table rows before committing the trans.
    Thx
    Hu

    I think you don't need to change the query execution mode
    check [url http://blogs.oracle.com/shay/entry/whenvalidateitem_trigger_in_ad]When-Validate-Item trigger in ADF with PPR 

  • Need help with inserting rows in ResultSet and JTable

    hello Guru!
    i have inserted a row in my result set and i want that my table shows this row promptly after i have inserted it in my result set...
    but when i use following code for my resultset:
    rs.moveToInsertRow();
    rs.updateInt(1,nr);
    rs.updateString(2, name);
    rs.insertRow();
    Record are inserted in resultset and database but not shown in my JTable??
    Anyone a Clue to without reexecuting the query how can i display inserted row in JTable
    http://download-west.oracle.com/docs/cd/A87860_01/doc/java.817/a83724/resltse7.h
    I have refrered the following links but still clue less help Guruuuuuuu
    i m really in trobble??????

    i am just near by the Solution using the Database Metadata
    by couldn't get the ideaaaa
    ==================================================
    http://download-west.oracle.com/docs/cd/A87860_01/doc/java.817/a83724/resltse7.htm
    Seeing Database Changes Made Internally and Externally
    This section discusses the ability of a result set to see the following:
    its own changes (DELETE, UPDATE, or INSERT operations within the result set), referred to as internal changes
    changes made from elsewhere (either from your own transaction outside the result set, or from other committed transactions), referred to as external changes
    Near the end of the section is a summary table.
    Note:
    External changes are referred to as "other's changes" in the Sun Microsystems JDBC 2.0 specification.
    Seeing Internal Changes
    The ability of an updatable result set to see its own changes depends on both the result set type and the kind of change (UPDATE, DELETE, or INSERT). This is discussed at various points throughout the "Updating Result Sets" section beginning on , and is summarized as follows:
    Internal DELETE operations are visible for scrollable result sets (scroll-sensitive or scroll-insensitive), but are not visible for forward-only result sets.
    After you delete a row in a scrollable result set, the preceding row becomes the new current row, and subsequent row numbers are updated accordingly.
    Internal UPDATE operations are always visible, regardless of the result set type (forward-only, scroll-sensitive, or scroll-insensitive).
    Internal INSERT operations are never visible, regardless of the result set type (neither forward-only, scroll-sensitive, nor scroll-insensitive).
    An internal change being "visible" essentially means that a subsequent getXXX() call will see the data changed by a preceding updateXXX() call on the same data item.
    JDBC 2.0 DatabaseMetaData objects include the following methods to verify this. Each takes a result set type as input (ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_SENSITIVE, or ResultSet.TYPE_SCROLL_INSENSITIVE).
    boolean ownDeletesAreVisible(int) throws SQLException
    boolean ownUpdatesAreVisible(int) throws SQLException
    boolean ownInsertsAreVisible(int) throws SQLException
    Note:
    When you make an internal change that causes a trigger to execute, the trigger changes are effectively external changes. However, if the trigger affects data in the row you are updating, you will see those changes for any scrollable/updatable result set, because an implicit row refetch occurs after the update.
    Seeing External Changes
    Only a scroll-sensitive result set can see external changes to the underlying database, and it can only see the changes from external UPDATE operations. Changes from external DELETE or INSERT operations are never visible.
    Note:
    Any discussion of seeing changes from outside the enclosing transaction presumes the transaction itself has an isolation level setting that allows the changes to be visible.
    For implementation details of scroll-sensitive result sets, including exactly how and how soon external updates become visible, see "Oracle Implementation of Scroll-Sensitive Result Sets".
    JDBC 2.0 DatabaseMetaData objects include the following methods to verify this. Each takes a result set type as input (ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_SENSITIVE, or ResultSet.TYPE_SCROLL_INSENSITIVE).
    boolean othersDeletesAreVisible(int) throws SQLException
    boolean othersUpdatesAreVisible(int) throws SQLException
    boolean othersInsertsAreVisible(int) throws SQLException
    Note:
    Explicit use of the refreshRow() method, described in "Refetching Rows", is distinct from this discussion of visibility. For example, even though external updates are "invisible" to a scroll-insensitive result set, you can explicitly refetch rows in a scroll-insensitive/updatable result set and retrieve external changes that have been made. "Visibility" refers only to the fact that the scroll-insensitive/updatable result set would not see such changes automatically and implicitly.
    Visibility versus Detection of External Changes
    Regarding changes made to the underlying database by external sources, there are two similar but distinct concepts with respect to visibility of the changes from your local result set:
    visibility of changes
    detection of changes
    A change being "visible" means that when you look at a row in the result set, you can see new data values from changes made by external sources to the corresponding row in the database.
    A change being "detected", however, means that the result set is aware that this is a new value since the result set was first populated.
    With Oracle8i release 8.1.6 and higher, even when an Oracle result set sees new data (as with an external UPDATE in a scroll-sensitive result set), it has no awareness that this data has changed since the result set was populated. Such changes are not "detected".
    JDBC 2.0 DatabaseMetaData objects include the following methods to verify this. Each takes a result set type as input (ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_SENSITIVE, or ResultSet.TYPE_SCROLL_INSENSITIVE).
    boolean deletesAreDetected(int) throws SQLException
    boolean updatesAreDetected(int) throws SQLException
    boolean insertsAreDetected(int) throws SQLException
    It follows, then, that result set methods specified by JDBC 2.0 to detect changes--rowDeleted(), rowUpdated(), and rowInserted()--will always return false with the 8.1.6 Oracle JDBC drivers. There is no use in calling them.
    Summary of Visibility of Internal and External Changes
    Table 12-1 summarizes the discussion in the preceding sections regarding whether a result set object in the Oracle JDBC implementation can see changes made internally through the result set itself, and changes made externally to the underlying database from elsewhere in your transaction or from other committed transactions.
    Table 12-1 Visibility of Internal and External Changes for Oracle JDBC
    Result Set Type Can See Internal DELETE? Can See Internal UPDATE? Can See Internal INSERT? Can See External DELETE? Can See External UPDATE? Can See External INSERT?
    forward-only
    no
    yes
    no
    no
    no
    no
    scroll-sensitive
    yes
    yes
    no
    no
    yes
    no
    scroll-insensitive
    yes
    yes
    no
    no
    no
    no
    For implementation details of scroll-sensitive result sets, including exactly how and how soon external updates become visible, see "Oracle Implementation of Scroll-Sensitive Result Sets".
    Notes:
    Remember that explicit use of the refreshRow() method, described in "Refetching Rows", is distinct from the concept of "visibility" of external changes. This is discussed in "Seeing External Changes".
    Remember that even when external changes are "visible", as with UPDATE operations underlying a scroll-sensitive result set, they are not "detected". The result set rowDeleted(), rowUpdated(), and rowInserted() methods always return false. This is further discussed in "Visibility versus Detection of External Changes".
    Oracle Implementation of Scroll-Sensitive Result Sets
    The Oracle implementation of scroll-sensitive result sets involves the concept of a window, with a window size that is based on the fetch size. The window size affects how often rows are updated in the result set.
    Once you establish a current row by moving to a specified row (as described in "Positioning in a Scrollable Result Set"), the window consists of the N rows in the result set starting with that row, where N is the fetch size being used by the result set (see "Fetch Size"). Note that there is no current row, and therefore no window, when a result set is first created. The default position is before the first row, which is not a valid current row.
    As you move from row to row, the window remains unchanged as long as the current row stays within that window. However, once you move to a new current row outside the window, you redefine the window to be the N rows starting with the new current row.
    Whenever the window is redefined, the N rows in the database corresponding to the rows in the new window are automatically refetched through an implicit call to the refreshRow() method (described in "Refetching Rows"), thereby updating the data throughout the new window.
    So external updates are not instantaneously visible in a scroll-sensitive result set; they are only visible after the automatic refetches just described.
    For a sample application that demonstrates the functionality of a scroll-sensitive result set, see "Scroll-Sensitive Result Set--ResultSet5.java".
    Note:
    Because this kind of refetching is not a highly efficient or optimized methodology, there are significant performance concerns. Consider carefully before using scroll-sensitive result sets as currently implemented. There is also a significant tradeoff between sensitivity and performance. The most sensitive result set is one with a fetch size of 1, which would result in the new current row being refetched every time you move between rows. However, this would have a significant impact on the performance of your application.
    how can i implement this using
    JDBC 2.0 DatabaseMetaData objects include the following methods to verify this. Each takes a result set type as input (ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_SENSITIVE, or ResultSet.TYPE_SCROLL_INSENSITIVE).
    boolean deletesAreDetected(int) throws SQLException
    boolean updatesAreDetected(int) throws SQLException
    boolean insertsAreDetected(int) throws SQLException

Maybe you are looking for

  • Message interface does not exist in any software components installed

    "Message interface does not exist in any software components installed on this business system" Essa é a mensagem de erro que estou tendo ao tentar configurar o XPath Receiver Determination do cenário SRVSC_WebAS_Outbound_ServiceStatusCheck. Já notei

  • Export module in Indesign fails to overprint black

    Hi Everyone. I have a big issue that need help with. I have indesign files for printing that are exported to pdf for imposition. When I open the pdf in acrobat the text that is set to overprint only knocks out, irrespective of the settings I choose i

  • B&W sliders not showing up

    In the develop module, when I switch to B&W treatment, my understanding was that a different set of sliders such as fill light, brightness would appear.  I just see the same sliders as with color treatment.  Any thoughts - Thanks

  • Sales value in credit mangement

    HI, i am working in Support project. The issue user raised was caluculating sales value in FD32 screen. I have ivistigated and found that there was no configuration maintanied for this customer in Automatic credit controal based on given credit contr

  • Creating a DB_ENV environment/setting a directory path for db's in Windows

    I have a small visual studio 2005 c++ program where I am trying to specify which directory to open my database from. I use db_env_create to create my environment and then I try to use DB_ENV->set_data_dir to set my path but it keeps returning a non 0