Server Side Cursors

Hi,
I want to display sets of results as in search pages.I want the best method suitable to be used against Oracle Database.

Thanks for the response. A follow-up question then is - is there
any way to not force the download of large volunes of data to
the client box? We have a fairly large database that we are
accessing, and would like to only retrieve the chunks of
information of current interest. The only method I have found is to append "AND ROWNUM < 100" to
the WHERE clause on the SELECT statement.
If a better method exists I'd love to here about it.
/Mats

Similar Messages

  • SQLNCLI11 - Recordset with Server Side cursor and Property PreserveOnCommit = TRUE

    I am migrating an OLEDB application from Microsoft Access to SQL.  I am using the SQL Native Client in my connection string
    "Provider=SQLNCLI11;Server=%s;Database=%s;Trusted_Connection=yes;"
    The application uses the following call to open a table in the database
    m_pRecordset->Open((LPCTSTR)m_strQuery, _variant_t((IDispatch*)mpdb, TRUE), adCursorType, adLockOptimistic, options);
    where m_strQuery is the table name, adCursorType is adOpenKeyset or adOpenDynamic (I've tried both), options is adCmdTable or adCmdTableDirect (I've tried both)
    mpdb is a _ConnectionPtr.  Cursor location can be either adUseClient or adUseServer.
    If I set Cursor location to adUseClient, the PreserveOnCommit Property of the  Recordset is true; if I set Cursor location to adUseServer the PreserveOnCommit property of the Recordset is false.  I cannot set this property after the recordset
    is open
    Is there a way to Open the recorfdset with a server side cursor and PreserveOnCommit TRUE?
    Howard P. Weiss

    Thanks, Dan, that has been very insightful. We will try to move our legacy VBA data access layer to client-side cursors (first for SQLs with CTEs, then for all SQLs, if everything works out well).
    Regarding deprecation: What is the currently recommended way to access SQL Server from VBA projects? I did a bit of research and it appears that all methods I can think of are deprecated in one way or another:
    DAO with ODBCDirect: Support has been dropped with Access 2007.
    DAO via JET: Using JET SQL syntax instead of T-SQL? Not seriously. Anyway, it's considered obsolete by Microsoft.
    ADO with the SQLOLEDB provider: Deprecated.
    ADO with the SQL Server Native OLEDB provider: Won't be supported after SQL Sever 2012.
    ADO with the Microsoft OLE DB provider for ODBC: Not supported: "SQL Server Native Client is not supported from the Microsoft OLE DB provider for ODBC (MSDASQL)."
    What did I miss?
    Best regards
    Heinzi

  • Is any server side cursor concept in jdbc

    hello friends,
    i am new programmer in java, i am doing one project in which
    i have to show the record in group (like user click one <1> link then
    he can view first 10 record if <2> then he can view 11 -20 record list) on
    same page.
    tech - jsp/servlet
    database - mysql
    and if u know any tutorial jsp and mysql connectivity please tell me.
    waiting 4 reply
    thanx
    nil4u

    You will have to implement the caching of the results on the server side and return the results as the user requests them. You can use the CachedRowSet on the server side to help you do this. There may be some utilities and tools available to help with this, try googling.

  • The query locator has timed out on the server side.

    Hi
    I am getting the error:The query locator has timed out on the server side.
    What to do now?
    AG

    Hi
    Are you using Salesforce.com for creating reports?
    When joining large-sized tables, you may run into a query locator time out
    error. The query locator is a server-side cursor generated by Salesforce.com
    and is used to navigate the query result. It will automatically expire in 15
    minutes without any activity.
    In the case of joining two tables, the report processing engine will read one
    table partly, and then it will process the other table. If the processing time is
    longer than 15 minutes, the Crystal Reports Salesforce.com Driver will try to
    read the rest of the records in the first table and the cursor in that query will
    time out. In the case of joining multiple tables, the chance of running into a
    query locator time issue is higher as the report processing engine might have
    to return to handle the first table after finishing processing other tables,
    increasing the possibility of a query locator time out error in the first table.
    If you run into query locator time out issue, we recommend that you add
    filters into your report to reduce the amount of records you fetch from
    Salesforce.com.
    However, if that is not possible, you can try to reverse the link order in the
    case of joining two tables. For example, you linked table A to table B, then
    you can try to link table B to table A.
    Hope this helps!!
    Regards
    Sourashree

  • Server-Side Include Issue - Please Help

    I am having trouble using server-side includes in
    Dreamweaver. When I use the SSI to insert the header file, the
    header document shows up on the page in design view, but I cannot
    click anything. The cursor turns into a "no sign" no matter where
    it is on the page. I cannot see anything but the header document,
    and I cannot click outside of it or anywhere else in design view.
    When I test the whole document in a web browser it actually seems
    to work just fine. I see the header and the other text on the page
    (unlike in dreamweaver, I cannot see anything but the header). Also
    in Dreamweaver code view, the php tags and the included filename
    are in red. This is the code for the test document:

    On Wed, 7 Mar 2007 04:02:29 +0000 (UTC), "AngryCloud"
    <[email protected]> wrote:
    > <?php include("header.php"); ?>
    What does the code look like in header.php? Does it have
    <html>, <head>
    and <body> tags? It should not.
    Gary

  • Client side cursor

    how do i specify a client side cursor on a Statement object?
    I am using jasper to generate reports and when i try generating a csv report I get the following stacktrace:
    com.jnetdirect.jsql.u: A server cursor is not allowed on a remote stored procedu
    re or stored procedure with more than one SELECT statement. Use a default result
    set or client cursor.
    at com.jnetdirect.jsql.ar.a(Unknown Source)
    at com.jnetdirect.jsql.ae.h(Unknown Source)
    at com.jnetdirect.jsql.ae.int(Unknown Source)
    at com.jnetdirect.jsql.ae.for(Unknown Source)
    at com.jnetdirect.jsql.l.execute(Unknown Source)
    at com.jnetdirect.jsql.ae.case(Unknown Source)
    at com.jnetdirect.jsql.ae.executeQuery(Unknown Source)
    at com.tci.groovecar.servlets.StatsReportGeneratorServlet.exportCsv(Stat
    sReportGeneratorServlet.java:846)
    at com.tci.groovecar.servlets.StatsReportGeneratorServlet.access$200(Sta
    tsReportGeneratorServlet.java:67)
    at com.tci.groovecar.servlets.StatsReportGeneratorServlet$ReportRequestJ
    ob.executeJob(StatsReportGeneratorServlet.java:1218)
    at com.tci.groovecar.servlets.StatsReportGeneratorServlet$ReportRequestJ
    ob.run(StatsReportGeneratorServlet.java:1180)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
    urce)
    at java.lang.Thread.run(Thread.java:484)
    please help

    I found the solution myself...
    I set the type_forward_only and Concur_read_only cursor for the createstatement and it worked.

  • WLPI's server side API

    I recently downloaded WLPI 1.1. I'm trying to understand how WLPI will
    integrate into our application. But I discovered that the javadoc files for
    server side API (com.bea.wlpi.server package) are not in the zip file I
    downloaded. Does somebody know how to access this kind of information ?
    Thanks

    Do you really need to use cursors? I assume you are using connection pooling. Then, within the same function, get a connection (from the datasource), use it, and close it (along with the preparedStatement and resultSet), all within a try/catch/finally block. When you get data from the database via a resultSet, immediatly put the data in some type of java collection and return that collection to the caller. Dont pass back the resultSet and try to manipulate the data within the resultSet.

  • Error while saving a workflow via sharepoint designer: Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.

    While saving a workflow using SharePoint designer on a SharePoint site, I get the following error: 
    Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.
    Steps to recreate error:
    Login to the WFE server hosting IIS and workflow manager, open SharePoint Designer 2013 and login to a SharePoint site.
    Access the list using SharePoint Designer 2013, in the workflow section, click new workflow. 
    In the new workflow dialog, enter workflow details, click save (see screenshot below).
    Error message is displayed as below:
    After restarting SharePoint Designer, the saved workflow is not seen in the site/workflows or list/workflow section.
    Workaround
    When the above steps are repeated while accessing the site via SPD from any other box besides the WFE/Workflow manager host server, the error is not encountered and its possible to save/publish workflows.
    Notes
    Workflow Manager 1.0 is installed.
    The site has been registered with Workflow manager using Register-SPWorkflowService
    cmdlet.
    Any clue on why is this happening?

    Hi Vivek,
    Please close your SharePoint Designer application, clear/delete the cached files and folders under the following directories from your server installed SharePoint Designer, then check results again.
    <user profile>\appdata\roaming\microsoft\SharePoint Designer\ProxyAssemblyCache
    <user profile>\appdata\local\microsoft\websitecache\<sitename>
    http://www.andreasthumfart.com/2013/08/sharepoint-designer-2013-server-side-activities-have-been-updated/
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How could I clear all my data(bookmarks) on Mozilla server side in new version of Sync (Firefox Account)?)

    Problem is the same as https://support.mozilla.org/en-US/questions/1000745?esab=a&as=aaq
    Also, there was no solution has been given in discussion.
    So, problem that noone could delete all data which have been synced with new Firefox account services.
    I've disconnected all my devices from previous (old) firefox sync system (which worked perfectly on several devices), after that i gone on link https://account.services.mozilla.com/ and deleted all my sensitive data.
    After I've created firefox account in new firefox sync system ( https://accounts.firefox.com ), and all my data (bookmarks exactly) now present in browser twice.

    I have a problem with over 12,000 unwanted bookmarks in my 4 PCs (all standard Mozilla bookmarks that have been replicated). So if I would like to purge my server side data. If I do this by deleting my Sync account can I re-use my same email address to re-open a "new" Sync account?

  • What is the difference between jsp :include and server side include

    what is the difference between jsp :include and server side include(request dispatcher include method)????
    i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
    Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
    do suggest if u hav ny other diff in this context...

    The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
    If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
    Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
    - Saish

  • Contribute changing relative path for server-side include

    I am using Contribute CS3, version 4.1, and my pages crash
    every time a send a draft for review, because Contribute is
    rewriting a relative URL in a server-side include.
    The server-side include (before I send for review) reads:
    <!--#include file="../foo/bar.fileextention"-->
    After I edit other portions of the page and send the draft
    for review, it reads:
    <!--#include file="http:
    //www.servername.com/foo/bar.fileextension"-->
    Which results in the draft being unreadable.
    Is there any way to tell Contribute not to monkey with this
    URL? I have hunted, read the forums, checked the knowledge base,
    and coming up empy.
    Thanks in advance for any help you can provide!! I really
    appreciate it!
    -Nicholas

    Answering my own question.
    I researched this complete forum and with taking ideas from
    different posts, I was able to figure this out. I thought I would
    post it for anyone else needing to know the answer in one place:
    Include tags must read:
    <!--#include virtual="includes/fileName.html"-->
    (Include file is NOT a real HTML doc -- no tags in file
    except for CSS, as it would be used if not using Contribute.)
    No reference to .dwt needed nor Template created.
    No Edit instance tags needed anywhere.
    Contribute user navigates to page:
    [Upper right corner] Click Choose...
    [In my structure] User opens includes folder (double clicks)
    User selects THE file (clicks OK)
    User clicks on Edit Page button
    (Text is now editable.)
    User edits text.
    User clicks on Publish button.
    Worked for me several times trying.
    - Janet

  • Needs a background webdynpro application running at the server side

    Hi All,
    We have a requirement wherein we need to have an application running all the time at the server side to capture the response coming from a web application. Based on the response that the application receives, it needs to update some backend R/3 tables.
    We are thinking of a webdynpro java application.
    Can anyone suggest what kind of application needs to be implemented here?
    And what  would be the steps required to run the application at the server side without calling the application.
    Thanks & Regards,
    Anurag

    Hi Robin,
    Thanks for the detailed explaination.
    This may sound silly to you but I've another doubt which is as follows:
    As you mentioned that the external web application will be sending requests to our Web service(in SOAP envelopes) and rest of the functionality can be  achieved by our web service.
    Actually, we are expecting only responses from the external web application. The thing is that we are sending the requests to the external web applications from our custom webdynpro application and in return the web application will be sending us 2 responses.
    First response would be back to our WD java application URL(to the browser in which WD java app is running) which would get the response and display some message based on the response.
    Second would be to this web service which you have just suggested. We are having two responses so that even if the browser in which the WD java application is running gets accidentally closed, the response from the external web application must get captured somewhere else and should not get lost in any case.
    So, now since we are only expecting the response from the web application and we do not want any requests from the web application to our web service; how is this possible?
    I am asking the above question because you have mentioned that the external web application has to request our Web service but we want is only this web service to capture the response coming from the Web application.
    Or is it like the web application will send us the response string as request string to our Web Service and the web service will capture these response parameters as request parameters from the web application and do the further processing.
    But in that case, we do not want any response to be sent by the Web Service to the external web application.
    Please suggest if this is possible.
    Once again, many thanks for the help so far.
    Thanks & Regards,
    Anurag

  • Team Foundation Server 2013.2 - SharePoint 2013 SP1 - Missing Server Side Dependencies

    Environment:
    TFS 2013.2 (update 2) on Windows Server 2012 R2, with MS SQL Server 2014 on the same machine;
    SharePoint 2013 SP1 (with April 2014 update) on Windows Server 2012 R2
    MS SQL Server 2014 on Windows Server 2012 R2 (Used by SharePoint)
    Title 
     Missing server side dependencies.  
    Severity 
     1 - Error  
    Category 
     Configuration  
    Explanation 
    [MissingSetupFile] File 
    [Features\TfsDashboardAgileReports\Reports\Bug Progress.xlsx] is referenced [6] times in the database [WSS_Content_Internal], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains this
    file to the latest version. One or more setup files are referenced in the database [WSS_Content_Internal], but are not installed on the current farm. Please install any feature or solution which contains these files.
    [MissingSetupFile] File 
    [Features\TfsDashboardAgileReports\Reports\Bug Reactivations.xlsx] is referenced [6] times in the database [WSS_Content_Internal], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains
    this file to the latest version. One or more setup files are referenced in the database [WSS_Content_Internal], but are not installed on the current farm. Please install any feature or solution which contains these files.
    [MissingSetupFile] File 
    [Features\TfsDashboardAgileReports\Reports\Bug Trends.xlsx] is referenced [6] times in the database [WSS_Content_Internal], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains this
    file to the latest version. One or more setup files are referenced in the database [WSS_Content_Internal], but are not installed on the current farm. Please install any feature or solution which contains these files.
    And dozen more similar entries
    The server is not in production, so I don't know if this error would cause any problems or not.
    How to resolve this?
    Thanks!
    Fat Dragon

    Hi
    A colleague and I are looking at a similar issue on TFs 2010 upgraded to TFS 2013 which I guess is slightly different mssing dependencies given the project template. we're using
    [MissingSetupFile] File [Features\TfsDashboardBaseUI\default.aspx] is referenced [1] times in the database [WSS_Content], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains this
    file to the latest version. One or more setup files are referenced in the database [WSS_Content], but are not installed on the current farm. Please install any feature or solution which contains these files.
    [MissingSetupFile] File [Features\TswaWebParts\WebParts\CompletedBuilds.webpart] is referenced [1] times in the database [WSS_Content], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains
    this file to the latest version. One or more setup files are referenced in the database [WSS_Content], but are not installed on the current farm. Please install any feature or solution which contains these files.
    [MissingSetupFile] File [Features\TswaWebParts\WebParts\GoToWorkItem.webpart] is referenced [1] times in the database [WSS_Content], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains
    this file to the latest version. One or more setup files are referenced in the database [WSS_Content], but are not installed on the current farm. Please install any feature or solution which contains these files.
    Will logon in a couple of days to test "Fat Dragon's" approach ( unless someone tells me different)
    Daniel
    Freelance consultant

  • Reappears Missing Server Side Dependencies in Sharepoint Foundation 2013 Health Analyzer

    Hi all,
    I am a little bit confused why I am getting missing server side dependencies again and again. The missing server side dependencies shows the errors of "MissingSetupFiles". When I click on "Reanalyze Now" button,
    the error vanishes from the Health Analyzer page. But after one day it reappears again and shows "Missing Server Side Dependencies", When I again click on "Reanalyze Now" the error of "Missing Server Side Dependencies" goes
    away.
    But after one or two days, the error comes up again.
    Can you please help me why this is happening.
    Thanks for help.

    Hi Vishwajeet,
    You are able to use SharePoint Feature Administration from Codeplex to clean up the Missing Features. You can do it by clicking here.
    Also , you  are able to use PowerShell to resolve it. More  detailed information, click here.
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/cc0b3ac7-1eb7-4e5b-9334-8c556e4c8b23/test-spcontentdatabase-errors-in-sharepoint-2010
    http://www.jeffscorner.org/blog/post/SharePoint-2013-%E2%80%93-Missing-server-side-dependencies-%E2%80%93-MissingWebPart-Webpart-class.aspx
    http://www.heyweb.net/2011/08/fixing-missing-server-side-dependencies-missingfeature/
    I hope this helps.
    Thanks,
    Ketak

  • Problem with skin for server side buttons.

    Hi,
    I have a problem with the skin for server side renderd buttons.
    In my CSS file I have :
    .AFButtonStartIcon:alias
    content:url(/skins/images/btns.JPG);
    .AFButtonEndIcon:alias
    content:url(/skins/images/btne.JPG);
    .AFButtonTopBackgroundIcon:alias
    content:url(/skins/images/btntb.JPG);
    .AFButtonBottomBackgroundIcon:alias
    content:url(/skins/images/btnbb.JPG);
    JPG files in project are in dir "public_html/skins/images".
    In WAR file,the JPG files are in "/skins/images" directory.
    Skin configuration is correct because other settings from CSS
    file are functioning fine after deploying.
    But buttons are standard browser buttons and are not taking the images i have used.
    In document provided by Oracle it says:
    (Note: These icons must be specified using either context-image or
    resource-image icons. Text-based icons are not allowed.)
    I am nt able to understand what this means?

    Perhaps this thread will help.
    JSF Skining Button Images
    The doc should say whether or not the width/height is a requirement. But since it doesn't mention it, try adding a width and height.
    - Jeanne

Maybe you are looking for

  • Getting Animated Gif files to animate

    Anyhad had any success at having animated gif files animating in Keynote 2? Mine doesn't seem to want to animate. Thx!

  • Printing part of a document

    When I worked with QuarkXpress I had a plugin for printing only a part of a large document (I'm doing posters). I don't remember the name of the plugin. It worked like the marquee tool in Photoshop and the plugin created an eps-file that I could prin

  • SVG (Trend Chart) Dotted Lines

    hi i have two below mentioned trend (Line) charts ChartA & ChartB and both charts have same settings but the problem is only ChartB Chart is showing interconnecting line on canvas while ChartA showing only dotted points and i am not been able to unde

  • Lightbox widget

    it appears that I'm not able to include thumbnail display with my lightbox presentation. Is it possible to create a slideshow that hides the hero box initially when a page is first visited and then displayed when a thumbnail is clicked for the first

  • How to delete a namespace from IR

    Hi, I have deleted the all data  types but I could not delete the Namespace from IR. can anyone help me out. Thanks & Regards Ashok.