Problem with scrollable cursors

Hello,
When I try to make a cursor scrollable by using SQLSetStmtAttr with parameters SQL_ATTR_CURSOR_SCROLLABLE and SQL_SCROLLABLE I get the error "[Oracle][ODBC]Optional feature not implemented".
I have tried it with different types of cursors (Static, Keyset Driven, Dynamic). Isolation level is READ COMMITTED (default). I use ODBC Oracle Driver 11.1.
What am I doing wrong?

Can you pls check this link
How do I get scrollable cursors with instant client unixODBC driver?

Similar Messages

  • I have a MacBook air. I'm having problems with my cursor either I cannot see it or disappears is there anything I can do to fix it

    I'm having a problem with my cursor. It either disappears or I cannot see it immediately. Is there a way to make an adjustment on the display of the curse

    reset SMC , also uncheck and check each setting on the cursor
    SMC reset
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.

  • I'm having a real problem with my cursor which seems to have developed a mind of its own, zigzagging allover, highlighting things without my command, and basically making my MacBook unuseable (it's taken me half an hour just to compose this!).

    I'm having a real problem with my cursor which seems to have developed a mind of its own, zigzagging allover, highlighting things without my command, and basically making my MacBook unusable (it's taken me half an hour just to compose this!).

    There are several possible causes for this issue. Please take each of the following steps that you haven't already tried until it's resolved. Some may not apply in your case.
    1. Follow the instructions in this support article, and also this one, if applicable. A damaged or defective AC adapter could be the cause, even if it's the right kind.
    2. Press down all four corners of the trackpad at once and release. If there's any effect, it's likely to be temporary, and in that case the unit must be serviced or replaced.
    3. Open the Bluetooth preference pane in System Preferences and delete all pointing devices other than the trackpad, if applicable. Disconnect any USB pointing devices. By a "pointing device," I mean a peripheral that moves the cursor, such as a trackpad, mouse, trackball, or graphics tablet. A plain keyboard is not a pointing device.
    4. Start up in safe mode and test, preferably without launching any third-party applications. If you don't have the problem in safe mode, but it comes back when you restart as usual, stop here and post your results. Do the same if you can't start in safe mode. If there was no difference in safe mode, go on to the next step.
    5. Reset the System Management Controller.
    6. If you're using a Bluetooth trackpad or mouse, investigate potential sources of interference, including USB 3 devices.
    7. A swollen battery in a portable computer can impinge on the trackpad from below and cause erratic behavior. If you have trouble clicking the trackpad, this is likely the reason. The battery must be replaced without delay.
    8. There's a report that a (possibly defective) Thunderbolt Ethernet adapter can cause the built-in trackpad of a MacBook to behave erratically. If you're using such an adapter, disconnect it and test.
    9. There's also a report of erratic cursor movements caused by an external display that was connected but not turned on.
    10. If none of the above applies, or if you have another reason to think that your computer is being remotely controlled, remove it from the network by turning off Wi-Fi (or your Wi-Fi access point), disconnecting from a Bluetooth network link, and unplugging the Ethernet cable or USB modem, whichever is applicable. If the cursor movements stop at once, you should suspect an intrusion.
    11. Make a "Genius" appointment at an Apple Store to have the machine and/or external trackpad tested.

  • [Solved] Problem with mouse cursor gnome3

    Hi
    I moved back to Archlinux after a brief stay in LMDE, and test the new GNOME3, I am unpleasantly surprised that after a while the mouse is moving himself toward the top of the screen. I searched the internet, and seems to be a problem with the gnome-shell for some time, but I am not able to find the solution.
    Momentarily solved by restarting gnome with ALT + F2 + r + Enter, but after a while, same thing happens again.
    Can be well with photography programs, but of course if you do not solve this issue, GNOME, I can not use
    Can you give me a helping hand?
    Thanks and regards
    Rafa
    Last edited by Warper4 (2011-08-16 18:09:50)

    I don't know about Gnome, but my laptop had that problem.  I tracked it down the 3d accelerometer being used to simulate a joystick.  Of course, I also had (previously) set up another joystick to operate as a mouse.  In the end, the cursor "drifted" when the laptop was not level
    YMMV

  • Since installing Mac Mavericks all my friends with Macs and I have problems with the cursor disappearing, only in Firefox, Safari is fine...

    I have stopped using Firefox as nothing I have done has fixed this problem. I have tried shutting down Firefox and rebooting it, I cleared all my add-ons and then added adblock back (that's the only one) but it still doesn't work. I've deleted large files so that I have more space - I can't think of anything else that will work. I have spoken to four of my friends with Macs and they are all having the same problem with Firefox since Mavericks.

    Hi thanks very much for your reply. I did a few things like delete my add-ons and I don't have the problem of the disappearing cursor (sounds like a Sherlock Holmes story) any more but it seems to have been a mac issue as there were many complaints on the Apple forums of the cursor disappearing since the Mavericks OS and not just in Firefox but in multiple programs. Looks like they've fixed it somehow!

  • Problem with busy cursor

    IHey there,
    i have a popping up window in my Flex app. This window needs a little time to get created. In this time I want to set the Cursor to busy. But instead of the busy cursor Flex displays no cursor, also the arrow cursor disappears.
    I tried the hack with callLater but it doesn't help. Had anyone a similar problem and knows how to fix it?
    By the way: What is the best way to set the busy cursor? Static, with the parentApplication.cursoManager property or in the component with this.cursoManager? All of these ways have the same result on my problem: no cursor!
    click on a item (own component, extended Canvas, buttonMode = true)
    call function by MouseListener
    function {
        this.cursorManager.setBusyCursor();
        this.callLater(doPopUpWork);
    callLater function
    doPopUpWork() {
        // DO WORK AND ADD POPUP
        this.cursorManager.removeBusyCursor;
    I checked the right timing with trace statements [ trace("setBusy") ... ] and the also cursor comes Back when work is done and popup was added. All right and in right time. But the cursor disappears in that time instead of showing the busy cursor.
    Can anybody help me???

    I see there are problems with reading the code, try again:
    click on a item (own component, extended Canvas, buttonMode = true)
    call function by MouseListener
    function {
        this.cursorManager.setBusyCursor();
        this.callLater(doPopUpWork);
    callLater function
    doPopUpWork {
        // DO WORK AND ADD POPUP
        this.cursoManager.removeBusyCursor();

  • Elements 12 problem with brush cursor

    I have recently bought Elements 12 (I have used Elements 2 for many years) which I am running on a Dell laptop with Windows 7.  Every time I change the brush cursor size, the cursor becomes corrupted.  It changes to strange shapes and does not work properly.  I have found that I can rectify the probem each time by pressing the spacebar.  The cursor then becomes circular again and works properly, but only until I change the brush size again.  So I have to keep pressing the spacebar all the time when I am trying to use the brushes.  Has anyone else had this problem and know of a fix please?  I have not encountered any other problems with Elements 12.

    Sorry I didn't spot that box and many thanks for the diagram.  I have now reset the brush tool which does revert the cursor to the circular shape and sets it to a small size (13 px), but the problem reoccurs.  As I increase the brush size, when it gets to 250 px, the cursor goes to an odd shape, then it reverts to circular at about 800 px.  A similar thing happens if I then reduce the brush size.
    I am new to this forum, as I didn't have any problems with Elements 2.  After I posted my question, it listed similar questions from other members.  One member descibed an identical problem with an earlier version of Elements.  That post was a very long dialogue and I have just quickly read through it.  He could not fix it and people's suggestions were that it was probably a deficiency with his graphics card.  Unfortunately, I suspect I have the same problem with my Dell laptop. I imagine there is nothing I can do other than buying a new PC, but if you guys have any further suggestions, then that would be great.  Many thanks!

  • Problem with fetch cursor statement

    Hi,
    I am using FETCH CURSOR statement to fetch the data from a database table with package size. For the fetched records I am doing parallel processing using parallel processing frame work in banking system.
    Here the problem is for the first iteration it works fine but when it comes to FETCH NEXT CURSOR in the second iteration , programs gets dumping by saying that 'CURSOR already closed'.
    I am not closing the cursor in the program but some how it got closed some where in the standard function module which I used for parallel processing.
    I used WITHHOLD also along with FETCH CURSOR but no use. Please let me know how to avoid the cursor to get close.
    Below is my code
    IF NOT l_tab_product IS INITIAL.
        OPEN CURSOR WITH HOLD lv_cursor FOR
         SELECT contract_int prodint cn_currency mig_grp
              INTO TABLE gt_cont
                FROM bca_contract
                FOR ALL ENTRIES IN l_tab_product
                WHERE prodint = l_tab_product-prodint
                AND   mig_grp IN s_migrp.
        DO.
          FETCH NEXT CURSOR lv_cursor
                            INTO TABLE gt_cont
                                 PACKAGE SIZE lv_size.
          IF sy-subrc <> 0.
            CLOSE CURSOR lv_cursor.
            EXIT.
          ELSE.
    parallel processing logic
    ENDDO.
    ENDIF.

    Using Withhold will not make sure that the cursor will not get closed because of commits.
    SAP Doc says
    If the addition WITH HOLD is specified, the database cursor is not closed by a database commit executed using Native SQL. The addition does not have an influence, however, on implicit database commits or on any rollbacks which always close the database cursor.
    You have to check the part written in your parallel processing logic.
    As Brad said please donot dump your old threads like this.

  • JDBC ResultSet out of memory problem with Scrollable one

    Hey guys,
    I'm facing the following problem when accessing an Oracle 10g database over oracle jdbc driver 1.4.
    I need to access the rows of a resultset (millions of rows) at least twice. Forward only doesn't need much memory - but I can't do a rs.beforeFirst()
    Switching to ResultSet.TYPE_SCROLL_SENSITIVE gives me always an java.lang.OutOfMemoryError: Java heap space exception after rs.next() and I can see the used memory constantly increasing.
    Here is my test code:
    conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@host:1521:ORCL", "user", "pass");
    Statement my_stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    ResultSet result = my_stmt.executeQuery("select * from stats_big");
    System.out.println("Query back :)");
    while(result.next()) {      //here happens the error after 200 000 rows
    //make statistics
    //ask user what to do
    result.beforeFirst();
    while(result.next()) {
         //apply function and deliver new values
    conn.close();
    Is the implementation caching all the already read rows in memory?
    Any help would be great,
    Alex

    if and how there are ways to read a Resultset 2 or more times
    forward-only and the data is not completelly cached on the client If the client reads a million rows, how can it read them a second time without either storing them somewhere on the client as in scrollable cursors, or rereading them from the server as in regular cursors. To me this looks like the laws of physics, rather than something that can be changed in a software release.
    In order of preference I would
    1. Not process a million rows on the client.
    2. Use a regular cursor and fetch it twice, the second fetch will be faster as the database already caches as much of it as it can.
    Fetching that much data somewhere is going to take some time anyway, which is why I prefer the first option..

  • Problem with scrollable resultset of oracle

    I encountered problom like this:
    when I use
    s=createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
    and getString of a resultset,I get the right data.
    However ,when I use
    s= createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    and getString of a ResultSet ,
    if the type of the field is Date,then get right data.
    if it is char or varchar2,then i get some thing like
    0x313233,
    all has been found in win2000&solaris
    with oracle 8.1.6
    thanks a lot!

    Hello,
    We've got the same problem.
    It comes from the National Character Set of Oracle Database.
    With WE8ISO8859P1, no problem with using this parameters.
    But with WE8ISO8859P9, we have some hexadecimal return.
    I don't know if it's works with another Character set, but with this, It doesn't work.
    We're trying to find a solution. Because change the character set is not one.
    Good luck.

  • Problem with scrollable content in cs6

    hi out there
    well since i while i'm using the cs6 to create folios. now i have a problem i didn't have in cs5.5. if i create a scrollable content ("durchlaufbarer rahmen" in german) in the folio overlays i can't navigate on the area where this element ist placed. if i place a full screen scrollable content on one page and open the folio on the ipad i'm stuck at this page...
    ...hope someone out there knows a way to fix this problem.
    thanks - alex

    So there is a way to retain the PDF version of an article with this?
    I've tried adding an MSO over a scrolling area of text (separate from the frame, but still on top of it), and I've also tried placing it within the scrolling frame.
    Neither of these worked.
    Is there something I'm missing? What specifically allows this workaround to work? I'd love to include some full page scrolling content without making the viewer get stuck on one scrolling page in the middle of the document.

  • Problems with Scrollable Content : colored lines appear

    Hello,
    We have a book with several Scrollable Content (around a total of 200).
    The fact is that in many colored lines appear. These lines appear i disappear when changing article,
    anyone have any solution?
    THANKS

    Hi
    I had the same problem. I had pasted the scrollable content directly into the container frame, but the pasted content was slightly 'taller' than the container window (the pasted object group was maybe 0.012 pixels larger than the container, so very slight) this caused it to display the coloured lines when I moved it up or down, although left and right movement worked fine. Resizing so the pasted content was smaller and exact pixels not 0.123 px (or the same size) as the container fixed it.
    M

  • Problem with explicit cursor fetching in oracle 8.1.7

    Is there any cursor attribute which can fetch the previous or next record from the cursor using pl/sql.
    thanks in advance

    You would need two cursors. One with > parameter in the where clause order by asc, and one with < parameter in the where clause order by desc. To continue in the same direction keep fetching from the same cursor. To switch directions, close it and open the other one.
    Alternative methods will depend on how much data is involved. You could have one cursor and store the rows already fetched in a pl/sql table. Or you could start off by putting the entire query into a pl/sql table.

  • Problem with variable cursor asignment

    Hi all
    Here is my test case
    O:\OraHomeDS>sqlplus boch/boch@boch
    SQL*Plus: Release 9.0.1.4.0 - Production on Jue Sep 7 11:32:25 2006
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    Conectado a:
    Oracle9i Release 9.2.0.4.0 - Production
    JServer Release 9.2.0.4.0 - Production
    SQL> create table t (articuloid number, articulo varchar2(10));
    Tabla creada.
    SQL> insert into t values (1,'AA');
    1 fila creada.
    SQL> insert into t values (2,'BB');
    1 fila creada.
    SQL> select * from t;
    ARTICULOID ARTICULO
    1 AA
    2 BB
    SQL> create or replace package mypkg is
    2
    3 TYPE t_record IS RECORD (articuloid t.articuloid%TYPE,
    4 articulo t.articulo%TYPE);
    5
    6 TYPE t_ref_strong IS REF CURSOR RETURN t_record;
    7
    8
    9 PROCEDURE query_st( prefstrong IN OUT t_ref_strong);
    10
    11 PROCEDURE query_wk( prefstrong IN OUT t_ref_strong);
    12
    13
    14 end mypkg;
    15 /
    Paquete creado.
    SQL> show errors
    No hay errores.
    SQL> create or replace package body mypkg is
    2
    3 PROCEDURE query_st( prefstrong IN OUT t_ref_strong) IS
    4 BEGIN
    5 OPEN prefstrong FOR SELECT articuloid,articulo FROM t
    6 WHERE articulo LIKE 'B%';
    7 END query_st;
    8
    9 PROCEDURE query_wk( prefstrong IN OUT t_ref_strong) IS
    10 vquery VARCHAR2(2000) := 'SELECT articuloid,articulo FROM t
    11 WHERE articulo LIKE ''B%''';
    12 TYPE trc IS REF CURSOR;
    13 vrefweak trc;
    14 BEGIN
    15 OPEN vrefweak FOR vquery;
    16 prefstrong := vrefweak;
    17 END query_wk;
    18
    19 END;
    20 /
    Cuerpo del paquete creado.
    SQL> show errors
    No hay errores.
    SQL> set autoprint on
    SQL> variable x refcursor
    SQL> exec mypkg.query_st(:x);
    Procedimiento PL/SQL terminado correctamente.
    ARTICULOID ARTICULO
    2 BB
    SQL> exec mypkg.query_wk(:x);
    BEGIN mypkg.query_wk(:x); END;
    ERROR en linea 1:
    ORA-06504: PL/SQL: Los tipos de retorno de variables de juego de resultados o
    la consulta no coinciden
    ORA-06512: en "BOCH.MYPKG", linea 16
    ORA-06512: en linea 1
    SQL>
    I can't see the problem when using the weak variable cursor to get the results and copyying to he strong variable cursor.
    I need to do this way (weak cursor -> strong cursor) because I'm using in the real world dynamic query and I need to use weak cursor. On the other hand I'm going to return the cursor to Oracle Forms and only strong cursors are accepted by Forms.
    Any help would be really apreciated.
    Best regards
    Cecilio.

    The assignment of cursor variables is not correct in your case.
    See example below:
    SQL> create or replace package my_pkg
      2  is
      3   type strong_cur is ref cursor return dual%rowtype;
      4   type weak_cur is ref cursor;
      5   procedure test;
      6  end;
      7  /
    Package created.
    SQL> create package body my_pkg
      2  is
      3   procedure test
      4   is
      5     a strong_cur;
      6     b weak_cur;
      7   begin
      8    open a for select * from dual;
      9    b := a;
    10   end;
    11  end;
    12  /
    Package body created.
    SQL> exec my_pkg.test;
    PL/SQL procedure successfully completed.
    SQL> create or replace package body my_pkg
      2  is
      3   procedure test
      4   is
      5     a strong_cur;
      6     b weak_cur;
      7   begin
      8    open b for select * from dual;
      9    a := b;
    10   end;
    11  end;
    12  /
    Package body created.
    SQL>  exec my_pkg.test;
    PL/SQL procedure successfully completed.
    SQL> create or replace package body my_pkg
      2  is
      3   procedure test
      4   is
      5     a strong_cur;
      6     b weak_cur;
      7   begin
      8    open b for 'select * from dual';
      9    a := b;
    10   end;
    11  end;
    12  /
    Package body created.
    SQL> exec my_pkg.test;
    BEGIN my_pkg.test; END;
    ERROR at line 1:
    ORA-06504: PL/SQL: Return types of Result Set variables or query do not match
    ORA-06512: at "TELSTRA_PERF.MY_PKG", line 9
    ORA-06512: at line 1Wen you assign strong to weak it's OK. When you assing weak to strong,
    you have to use
    OPEN <weak cursor> FOR SELECT...;
    It allows Oracle to define the return type at the compillation time.
    When you are using quoted form
    OPEN <weak cursor> FOR 'SELECT ...'
    Oracle doesn't know return type and it causes run-time error.
    Anyhow - why don't you use only weak form ?
    Rgds.

  • Problem with the cursors in PSE9 editors

    I'm using Windows 7 and installed PSE9 (internet purchase from Adobe).  In each of the editing modes I get three very small cursor icons (hands, crop icons etc) side by side.  That makes editing very difficult.  I've tried uninstalling and resinstalling and updating etc. and nothing seems to correct the problem.  Can anyone help?
    Thanks in advance
    Dan

    Click Edit >>Preferences >>Display & Cursors
    where you can select your own preferences.
    Use the bracket keys [ and ] to make cursors larger and smaller.

Maybe you are looking for

  • Web gallery max out at 500 images

    Hi, I'm using LR 3.5 and when I creat a web gallery it maxes out at 500 images, even though there are 776 photos in the gallery and all 776 are selected. In fact, the image number below the preview shows 1/500 instead of 1/776. When i look at the upl

  • Problem with calender timezone

    hi first i got the instance of the calendar and printed the date? The date showed in IST which is my timezone. After this i changed the Timzone of the calendar to "UTC" and printed the date. still the date comes in IST and the date is same before and

  • HELP Macbook heats up!!

    Hi so after my Macbook has been on about 10 min the bottom of it heats up to the point I can't rest it on my lap without a blanket or pillow covering my legs.... It's a late 2008 macbook, I got it in december for x-mas.. any advice? Should I take it

  • Can we assign same  basic type to  different message type in ALE

    Hi Expert    can we assign same idoc type to different message type?

  • How to programmatically compare two PDF documents.

    We are in need of a solution related to comparing baselined and revised PDF documents, generally around 2-3 pages of content. Please note that I am looking for programatic comparison, ideally a dotnet based solution using Acrobat SDK. Any help will b