Is it possible to reset the cursor pointer

Hi,
My requirement is :
I have a program like this
Create or replace proc_1( out_cur out sys_refcur)
-- local variable declarations.
begin
open out_cur for
select col1,col2 from table1 where col3=4;
fetch out_cut into l_col1,l_col3;
--- some operations with l_col1,l_col3
end;
This procedure is getting called from java. when they try to open out_cur, they will get error : fetch outof sequence.
My query is., Is there any way to fix it other than opening a duplicate cursor?

Manjusha Muraleedas wrote:
My query is., Is there any way to fix it other than opening a duplicate cursor?The basic flaw in the approach is the premise that a cursor is some kind of in-memory result set to a SQL select.
It is not.
It is a "program" that is executed by a fetch instruction - and returns output in response to that execution iteration.
As for duplicating the cursor.. why? I/O is the single most expensive operation on a database. Why double that by creating a cursor (program) that hits the very same data twice in the same client call?
This approach will never perform and scale.

Similar Messages

  • Can´t sync movies with iTunes 11.1.4 (on Mavericks 10.9.1) to iPhone 4S with iOS7. Is there a possibility to reset the sync on iTunes?

    I produced some videos in iMovie 10.0.2 and transfered they to iTunes 11.1.4.
    That worked so far....
    After that I´ve compressed the movies for the use with iPhone and iPod
    .....also worked.....
    Then I tried to sync the movies to my iPhone4s with iOS7.0.4. The sync starts, runs and ends without an error. But after that I can´t find the movies on my phone. There is enough free memory on my phone and I also tried to shut the movie app and restart my phone. The movies are still not there.
    When I check what´s on my phone with iTunes (iPhone connected), iTunes says the movies are on my phone!?!?!?
    Maybe there are some troubles within a sync "library" or something like that? Is there a possibility to reset the sync services or whatever is responsible for the sync?
    Or maybe somebody has another solution which solves the problem!?
    The strange thing is that my music, books and all the other stuff will sync fine!
    Hope that someone can help me with this issue.
    thanks a lot

    I´ve fixed this issue as follows:
    1) did a backup of the iPhone in the cloud
    2) reset the iPhone in manufacturing mode
    3) restored the backup out of the cloud
    After that the sync with iTunes worked well also with movies.

  • My iphone does not have facetime on it.  I've tried going into restrictions, but there's a passcode that doesn't seem to be one that I've used before.  Is it possible to reset the phone and then just restore a portion of the old information?

    My iPhone does not have Facetime on it.  I've tried going into restrictions, but there's a passcode that doesn't seem to be one that I've used before.  Is it possible to reset the phone and then just restore a portion of the old information?  I've tried several pass codes and now am locked out for an hour after being locked out for 5 minutes and then 15 minutes.  It said that I had tried 7 pass codes prior to these, but I don't remember ever trying to get into restrictions before.
    I've looked up other posts on this, and my phone was purchased in the US and does not have an AE in the model number.

    Help for forgotten passcode >   iOS: Forgotten passcode or device disabled after entering wrong passcode
    When you have access to your iPhone again, FaceTime is a pre installed app that cannot be removed.
    Try a search >  iOS: Understanding Spotlight Search

  • Possible to reset the workspace to mimic the older, classic PS look?

    I really don't like the new workspace / palets layout in PS CC. Does anyone know if it's possible to reset the workspace / palets / interface look to mimic the older, classic PS look that we've all been using for so long?
    -John

    There's nothing radically different about Photoshop CC.
    Don't speak for others.  Many serious Photoshop users have upgraded through every version.  The changes have all been evolutionary.
    That said, for more specific help, maybe you could supply a little more info?  How about describing specifics, such as what you're seeing that's different, how you'd like it to look.
    For all you've written, it's possible that you may just want to disable the Application Frame in the Window menu.  We can't really tell.
    -Noel

  • Is it possible to move the anchor point for an inline object?

    I have noticed that sometimes the anchor point will get inserted in the middle of a word resulting in the spellchecker marking the word as misspelled.
    I can't seem to find any information in the documentation about moving an anchor point. Is it not possible?
    Thanks

    Krisler,
    Select your Inline graphic. Then click on the center of the graphic and drag the mouse's pointer into the text. When you get your pointer into the text you will see the insertion cursor (vertical bar) just at the tip of the mouse arrow. When you let go of the mouse button the insertion point for the graphic will be where the insertion bar was at that time. The key point is to concentrate on the position of your arrow tip as you attempt to reposition the insertion point.
    Jerry

  • Is it possible to control the cursor of a XY-graph via Keyboard and read the y value of the curser x-position?

    I have following problem when I control the cursor via an attribute note, it is neccersary to free the cursor, but then it is not possible to read the y-Value of the cursor position. I want to control the cursor via keyboard and buttons, but with the funtionality of attribute setting "cursor fixed to plot".

    You know the X position so just read the Y value by reading it straight from the Y array instead of from a property node...
    Alternatively unlock the cursor if the position control has changed...and lock it again if it is constant for n milliseconds; to produce the Y value from the Y property.
    MTO

  • How can I reset the anchor point to its default?

    One of the other guy using my machine screwed up the default anchor point position for text layers & for the life of us, we can't figure out how to reset it back to its default (centered on the text layer).
    Right now, it appears a the bottom of the text layer (bottom left if left justified, bottom right if the text is right justified & bottom center if cerer justified).
    Just to be clear, when typing out a brand new text layer, the anchor point does not appear in the center of the layer, as it normally does. Hitting "reset" in the tranform controls always moves the AP back to this position (ie, if I use the pan-behind tool to put the AP where it needs to be, then hit "reset", the AP moves back to the lower left corner of the layer)
    I'm sure it's got to be some keystroke combination of some kind...
    Anyway, does anyone know how to set it back to its default? It's a pretty big pain to have to manually set the anchor point for every text layer, and I kinda want to leave the "delete-your-prefs" option as a last resort...
    thanks
    D

    As Rick said - there is no way in hell the text ever could have been perfectly centered to begin with. the behavior you are seeing is perfectly normal. Whenever you change the text, the anchor point will respond in kind. Only fixed size text blocks will reverse that principle and fit the content to the bounding box, leaving the anchor point unchanged.
    Mylenium

  • HT4623 I've downloaded i0S7 and am not satisfied with the calendar application.  Is it possible to reset the I-phone to it's orignial confiuration?

    I've downloaded iOS 7.0.2 on my Iphone and am not satisfied with the calendar application.  Can I reset my Iphone to it's original settings ?

    Hickman
    What are you trying to do?   Here is a helpful article.
    http://www.macobserver.com/tmo/article/ios-7-making-calendar-more-useful?utm_sou rce=macobserver&utm_medium=rss&utm_campaign=rss_everything
    Cheers

  • Is it possible to reset the default image size for VIEW in photoshop elements EDIT menu?

    When I go into the Edit menu, I have to click on "Fit on Screen" to enlarge the view.  Is there a way to change the default size of the  Edit image so that the larger size I get with "Fit on Screen" is the new default?"

    Not as far as I know.  PSE opens a new image in the editing window according to its own internal formula for size.
    Ken

  • My 4th generation iPod is in maintenance status and it isn't possible to reset the iPod

    Question stands below

    Maybe this since I do not know what Maintenance status is
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Reversing and Resetting the Excise Invoice No. in Sales

    Hi Gurus,
    Kindly give me solution to reverse and reset the excise invoice after billing.  The client has created manual invoice and manual excise nos. have been given for few documents and invoice has been despatched to the party.  When they are updating the same in SAP, the system shows that the excise document number already exists in the system due to which there is a mismatch in manually given number and SAP generated excise document number.  As the manual number has already been advised they want the same number to be in SAP.  Is there any possibility of resetting the SAP excise invoice number ?
    Sadashivan

    Dear Sadashivan,
       I am just going through your message and its very surprising that you are entering excise invoice number manually while creating the exise invoice. As per my understanding you CANNOT assign external (as per you manually entering excise number) number ranges for CIN objects. The reason is excise invoice number should always be in order. If you are creating excise invoice by entering manually excise invoice then this is not SAP standard procedure.
       Please check whether you are following the standard SAP functionality while creating excise invoice or not. Check whether you are using your own development?
       Regarding resetting the number range in transaction SNRO or SNUM will not solve your purpose. As excise invoice is already been updated in different tables.
    Dear Lakshmipathi,
          Kindly check this "resetting number ranges in SNUM", will give error message while creating excise invoice.
    Regards
    MBS

  • Cursor name visable property on xy graph: name overlays cursor point.

    I have an XY grpah set up, and I realized that when i apply the name visable attribute to the cursors programmiably, the name seems to overlay teh cursor, being right on top of it. Yet if i do it manualy through the cursor legend, it shows it on top... its very odd. Ultimatly i do NOT want to do ti manualy becuase i wil be have an unknown amount of cursors being created and would like them all to show the lables that i give them ABOVE the point... not ontop of it, because its obivously not readable. Anyone have a solution for this?
    Thanks,
    Mark

    Mark,
    There is no property to set the position of the cursor label. However, you can add empty characters at the begining of the label, so that the actual string will be to the right of the vertical cursor.
    In LabVIEW 7, the cursor label is displayed above the cursor point, but on top of the vertical cursor line.
    Zvezdana S.

  • How to change the cursor

    I somehow changed the pointer / cursor in bridge from an arrow to a small magnifying glass... when i position the cursor / pointer on a picture in the PREVIEW panel in bridge and press on the left mouse key, the cursor is a small magnifying glass that opens a small window that magnifys whatever portion of the screen it is on.... i DO NOT know how i changed it and CANT find out how to change it back to a POINTER ARROW.... please help...thanks...dave

    Have you got a sticking space bar?
    Try tapping it a few times.

  • Changing the cursor position

    Is it possible to change the cursor position automatically when changing the language?
    For example: when changing from English to Hebrew the cursor will move from the right end to the left?
    Thanks,
    Amnon

    I don't think this is possible in general, although some individual apps might do it.  Normally you use a direction control from an app menu or at the system level.
    http://support.apple.com/kb/PH14203

  • Lock the centre point of an object?

    I'm using illustrator (CS6) to animate a simple marionette type figure.
    I'm using the Rotation tool to turn body parts around their usual connection points, moving the transform centre point each time.  I'm wondering if it's possible to "lock" the centre point for any individual object to a certain offset from the object's actual centre, so that every time I reselect an object to move it I'm always rotating it around exactly the same place.  I find that if I have to move the centre point from the real centre to where I want to rotate around every time, I'm not getting the exact same spot in relation to the object's bounds, which makes for some weird movements.
    For example, the rectangle that makes up the upper arm should have its rotation point always about ten pixels down from the top and in the horizontal centre of the object.   The elbow right at the top edge, but also in the horizontal centre, of the lower arm.  etc.

    Monika Gause wrote:
    Use symbols.
    They've got a registration point. Position the artwork in relation to that reg point.
    Ahh, that's an excellent suggestion, thanks!   It looks like it should work.. although there's this bit of the documentation that makes me wonder:
    When you create a symbol, you can choose the registration point from any of the 8-point across boundaries or center of the symbol bounding box.
    It sounds like I might not be able to set it to any arbitrary position within the symbol.  I'll give it a shot though.. thanks!

Maybe you are looking for

  • How can I create a disk image of snow leopard installer disk from my Imac which runs it?

    how can I create a disk image of snow leopard installer disk from my Imac which runs it? It came without DVD installer, and I want to make a copy of it's OS installer but can't find out how.

  • PDF Comparing in Adobe Acrobat

    Does Adobe Acrobat helps in comparing pdf files with image and text at same time. Not like other tools like Araxis Merge which have Text view and Image view and are not able to compare the file in one view. Also, can it do a three way comparing and i

  • No Audio; headphones, internal speakers, nothing.

    I'm sorry for another thread, I know there are a lot more that address this problem. I've read a lot of them, none of them have helped me. Alright so my audio won't work at all. I was plugged into external speakers and then it just stopped. My intern

  • Database adapter not importing table having data type as WF_EVENT_T

    Hi All, I have a requirement to import a table in the Database adapter. That table is having a column of data type "WF_EVENT_T". When I tried to import the table in database adapter I got the error as "The following tables are not supported in the Da

  • Real Application Clusters configuration

    Hi everyone, How to create a database with RAC? I have work experienxe in oracle 9i but i am trying to create a databse with RAC. Can anyone give me the steps to do it. Thanks