Using all types of resultset Objects i need a single program

i think all of u know that there are 8 types of resultset objects are there in jdbc technology i.e
# next() - moves the cursor forward one row. Returns true if the cursor is now positioned on a row and false if the cursor is positioned after the last row.
# previous() - moves the cursor backwards one row. Returns true if the cursor is now positioned on a row and false if the cursor is positioned before the first row.
# first() - moves the cursor to the first row in the ResultSet object. Returns true if the cursor is now positioned on the first row and false if the ResultSet object
does not contain any rows.
# last() - moves the cursor to the last row in the ResultSet object. Returns true if the cursor is now positioned on the last row and false if the ResultSet object
does not contain any rows.
# beforeFirst() - positions the cursor at the start of the ResultSet object, before the first row. If the ResultSet object does not contain any rows, this method has
no effect.
# afterLast() - positions the cursor at the end of the ResultSet object, after the last row. If the ResultSet object does not contain any rows, this method has no effect.
# relative(int rows) - moves the cursor relative to its current position.
# absolute(int n) - positions the cursor on the n-th row of the ResultSet object.
Using all these result set methods i need a sample program all these methods must be used in a single program itself

BalajiEnntech123 wrote:
i think all of u know that there are 8 types of resultset objects are there in jdbc technology i.e I don't know who "u" are but they're wrong if they think there are "8 types of resultset objects are there in jdbc technology".
They'd be especially wrong to think that the methods you mention are "types of resultset objects".

Similar Messages

  • I used All Recorder on Windows, exclusively to record streaming radio programs.  What would work similarly well on Mac?  Audacity?

         I used All Recorder on Windows, exclusively to record streaming radio programs.  What would work similarly well on Mac?  Audacity?

    You have various options, depending on your needs and the source you want to record, for instance,
    - Audio Hijack Pro (or its cheaper cousin Piezo);
    - WireTap;
    - iRecordMusic;
    In terms of free apps, you can try VLC (which won't work with certain streams, eg, BBC), iMagneto, or the audio editor Audacity in conjunction with a tool like Soundflower.
    You can probably find a few more options if you google it, but I'd say these are the main ones.

  • Using java type strings in objective C

    HI all,
    I am into a greater mess of creating a java equivalent string using NSString class. I need to a convert some strings into bytes and then I have to write in streams. The problem is in java the length of character is 2 bytes. But in objective C the length of char is 1 byte. In java they used to convert the the entire sting into char array and then the char array into byte array and then they write in the streams. I need to implement same as java. Using NSString , there are methods available to convert into NSData . from the object of NSData , the byte Array can be obtained. but the length of the byte array compared to the length of byte array in java seems to be half. I have used "NSUTF8StringEncoding" to encode the string into NSData. Is there anyway to obtain the above said scenario using objective C.
    Regards,
    Mohammed Sadiq.

    HI xnav,
    thanks a lot .. Following is my code :
    NSData *data = [@"12C58CE4DB9752C" dataUsingEncoding: NSUnicodeStringEncoding];
    int len = [data length];
    here the value of len is 32 bytes.
    anyway I didn't try out using CString.
    I also like to clarfiy the usage of unichar. Following is the code that i used to convert, to and from NSData using unichar :
    // converting to NSData
    +(NSData *)NSDataFromString:(NSString *)value_
    int len = [value_ length] * sizeof(unichar);
    unichar *buffer = (unichar *)malloc(len);
    [value_ getCharacters:buffer];
    NSData *data = [NSData dataWithBytes:buffer length:len];
    free(buffer);
    return data;
    // converting into NSString :
    +(NSString *)NSDataToString:(NSData *)data_
    unichar *characters = (unichar *)[data_ bytes];
    NSString *value = [NSString stringWithCharacters:characters length:[data_ length]];
    return value;
    I tried converting a sample string with above methods its working. shall i follow the above. does it affects any values that i used to fetch from the server.
    awaiting for your response
    Regards,
    Mohammed Sadiq.

  • I wanna ipad app to read using all types of document ?

    Apps for reading PDF , doc, docx, ppt

    Do not purchase Pages for your specific needs if you want one app to read all three of those file types. Pages will not read .ppt or PDF files. You can export files as PDF in Pages but you cannot import or read PDF files in Pages.
    I do not have it myself, but GoodReader does come very highly recommended from most of the reviews that I have seen.

  • How to use all fonctions of a C++ dll in a java program

    package hello;
    public class hello {
    static {     
         System.loadLibrary("hello");
    public native void afficherhello();
    public static void main(String[] args) {
         hello h = new hello();
         h.afficherhello();     
    I obtain this exception:
    Thread[main,5,main] (Alive)
    Uncaught exception (java.lang.UnsatisfiedLinkError)
         (hello).afficherhello()
         hello.afficherhello()
         hello.main(String [])
              args=([Ljava.lang.String;) [Ljava.lang.String;@7dbd
              h=(hello.hello) hello.hello@236b
    I don't understand why I couldn't use the methods of my dll. Moreover, I am sure that my dll is already OK.
    If you have an idea to help, I will be very pleased!
    Pierre
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Are you sure your dll is ok. It might work in other C++ programs, but java requires special naming. In your case, instead of a method afficherhello in your hello.dll, there should be a method called Java_hello_hello_afficherhello.
    For more information about JNI, see http://java.sun.com/products/jdk/1.2/docs/guide/jni/

  • Stock Transfer for Excisable Materials Using Movement Type 301

    Hi,
    We are having a Plant 1002 as excisable Materials.
    During GR we following the process like GR (Part -I), Capture Invoice, Post Invoice.
    Can we transfer the Material from Plant 1002 to other Plant, say 1001, using Movement Type 301?
    Or we need to follow some other router for Stock Transfer for the Excisable Materials?
    I was told by the ex-consultant that we would be using Mov Type 301 for all Stock Transfers, but I have a doubt, please guide.*
    Regards,

    Hi PK,
    Here in Brazil we work with excisable material and when we have to transfer it plant to plant, we have to use IVA that performs tax posts on accounting document. Also, we have to create Nota Fiscal (BrazillianLegal Document).
    I think you have to talk to your legal/accounting area in order to make sure which procedure you will have to use.
    If you need tax posting on accounting document, then you will not be able to use 301 movement type.
    We use MM/SD Plant to Plant transfer (movement type 861 / 862)
    Depending on your Legal/accounting area feed back, you could use this scenario or just MM plant to plant transfer (movement type 303/305).
    If they are ok with no tax postings on accounting document, then 301 movement type should be used.
    Try to make a test, show then how it works, then you could get ok from then
    I hope it helps you.
    Best Regards,
    Natan

  • How to store a DB row (multiple columns) from ResultSet object to hm/ht

    I am trying to store a DB row (which is containing ~150+ columns) from ResultSet Object to HashMap/Hashtable using the below code. But I wonder is, this not working and even do not get any error.
    dataslotHashmap.put(rsmd.getColumnName(i+1),rs.getObject(i+1));
    where "rsmd" ResultSetMetaData Object and "rs" is ResultSet Object.
    Need advice please

    Code snippet for reference:
    rs=stmt.executeQuery("select * from ......
    rsmd=rs.getMetaData();
    rs.next();
    int noc=rsmd.getColumnCount();
    for(int i=0;i<noc;i+=1) {
    dataslotHashmap.put(rsmd.getColumnName(i+1),rs.getObject(i+1));

  • Query for recurring reports using Query Builder in Business objects

    1. How to count webi Recurring reports using query builder in business objects? (Need Query for this)
    2. How to count Crystal Recurring reports using query builder in business objects? (Need Query for this)
    I am able to get summerized recurring reports using Query Builder.
    For Example we have 343 reports which are under recurring (This includes both Webi Reports and Crystal Reports).
    we need to get individually how many webi reports are under Recurring and Crystal reports are under Recurring.

    1. How to count webi Recurring reports using query builder in business objects? (Need Query for this)
    2. How to count Crystal Recurring reports using query builder in business objects? (Need Query for this)
    I am able to get summerized recurring reports using Query Builder.
    For Example we have 343 reports which are under recurring (This includes both Webi Reports and Crystal Reports).
    we need to get individually how many webi reports are under Recurring and Crystal reports are under Recurring.

  • Macbook pro using all bandwidth

    I have a MacBook Pro for use at my work.
    Our internet connection is not the best but recently i have been told that my PC is using all the bandwidth, even when i have very few programs running.
    The company telephone is run on the internet and when I'm logged on the network it affects the connection.
    The phone company are saying that i am using all the bandwidth.
    Can someone advise how i can check to see what may be causing it.
    Thanks in advance.

    EtreCheck version: 2.2 (132)
    Report generated 4/30/15, 1:00 PM
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (13-inch, Mid 2010) (Technical Specifications)
        MacBook Pro - model: MacBookPro7,1
        1 2.4 GHz Intel Core 2 Duo CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery: Health = Normal - Cycle count = 154 - SN = 9G03906MHD3MA
    Video Information: ℹ️
        NVIDIA GeForce 320M - VRAM: 256 MB
            Color LCD 1280 x 800
    System Software: ℹ️
        OS X 10.10.2 (14C1514) - Time since boot: 4:26:56
    Disk Information: ℹ️
        Hitachi HTS545025B9SA02 disk0 : (250.06 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 249.20 GB (189.26 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        HL-DT-ST DVDRW  GS23N 
    USB Information: ℹ️
        Apple Internal Memory Card Reader
        Apple Inc. Built-in iSight
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        HOLTEK USB Wireless Device
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.tomtom.driver.UsbEthernetGadget (1.0.0d1) [Click for support]
    Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [failed]    jp.co.canon.UFR2.BG.plist [Click for support] [Click for details]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.facebook.videochat.[redacted].plist [Click for support]
        [failed]    com.google.GoogleContactSyncAgent.plist [Click for support] [Click for details]
        [running]    com.microsoft.LaunchAgent.SyncServicesAgent.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application Hidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        GrowlHelperApp    Application  (/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app)
        Belkin Router Monitor    UNKNOWN  (missing value)
        MyTomTomSA    UNKNOWN  (missing value)
    Internet Plug-ins: ℹ️
        JavaAppletPlugin: Version: Java 8 Update 25 Check version
        FlashPlayer-10.6: Version: 17.0.0.169 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flash Player: Version: 17.0.0.169 - SDK 10.6 [Click for support]
        AdobePDFViewer: Version: 10.0.1 [Click for support]
        o1dbrowserplugin: Version: 5.41.0.0 - SDK 10.8 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        SharePointBrowserPlugin: Version: 14.4.8 - SDK 10.6 [Click for support]
        googletalkbrowserplugin: Version: 5.41.0.0 - SDK 10.8 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        iPhotoPhotocast: Version: 7.0
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Growl  [Click for support]
        Java  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            11%    WindowServer
             1%    securityd
             1%    fontd
             0%    notifyd
             0%    usernoted
    Top Processes by Memory: ℹ️
        425 MB    kernel_task
        213 MB    com.apple.WebKit.WebContent(3)
        147 MB    Microsoft Word
        119 MB    HelpViewer
        102 MB    WindowServer
    Virtual Memory Information: ℹ️
        744 MB    Free RAM
        3.27 GB    Used RAM
        0 B    Swap Used
    Diagnostics Information: ℹ️
        Apr 30, 2015, 08:31:52 AM    Self test - passed

  • Single program to covering all concepts...

    I need a single program which covers all the concepts like
    <b>Module Pool Programming,
    Include Structure,
    ABAP Objects...</b>
    can u plz send it...

    Hi,
    Refer to ABAPDOCU u will get e.g of all u want .
    if u want evertying in one prog then refer program called by tcode ME21N, but u will be confused.
    Jogdand M B

  • Need Help for Embed Tag to playing all type of video files in any browser

    Hai,
    I am using the following Embed Tag for playing video files in Browsers.
    <OBJECT
    ID="mediaPlayer"
    CLASSID= "clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    CODEBASE= "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
    TYPE="application/x-oleobject"
    STANDBY="Loading media player components..."
    HEIGHT="200" WIDTH="250">
    <PARAM NAME="showcontrols" VALUE="true">
    <PARAM NAME="autostart" VALUE="false">
    <PARAM NAME="loop" VALUE="false">
    <PARAM NAME="filename" VALUE="photo/video/<%=category%>/<%=image.elementAt(i*4+1)%>">
    <EMBED TYPE="video/x-msvideo"
    STANDBY="Loading media player components�"
    CONTROLLER="true"
    CONTROLS="ImageWindow,ControlPanel"
    SHOWCONTROLS="true"
    AUTOSTART="false"
    HEIGHT="200" WIDTH="250"
    SRC="photo/video/<%=category%>/<%=image.elementAt(i*4+1)%>" >
    </OBJECT>
    But this Embed Tag does not playing such type of video files(ex: *.flv, *.mov, *.avi etc.,)
    i need to play all types of video files using the Embed Tag.
    Can anyone please help me for this.
    Edited by: devtamil on Oct 3, 2007 12:27 PM

    Hi,
    Im having a similar problem and i was wondering if you were able to get a solution??
    Thanks for your help.

  • Can some one translate these instructions D-Link DI-524: installation as wireless HUB/Bridge   General  ON ALL TYPES OF ROUTERS DHCP SERVER HAS TO BE DISABLED ON ALL TYPES OF ROUTERS UPnP ALSO HAS TO BE DISABLED OTHERWISE YOU CAN SEVERELY HINDER OTHER USE

    D-Link DI-524: installation as wireless HUB/Bridge
    General
    ON ALL TYPES OF ROUTERS DHCP SERVER HAS TO BE DISABLED
    ON ALL TYPES OF ROUTERS UPnP ALSO HAS TO BE DISABLED
    OTHERWISE YOU CAN SEVERELY HINDER OTHER USERS IN YOUR NEIGHBOURHOOD!
    Practical example: D-Link DI-524
    The DI-524 is a wireless router.Although the manufacturer doesn't mention this, you can also install this device as a wireless hub.Of course this is not supported by the manufacturer. Therefor you have nowhere to go in case of any problems Plug in the power cord of the DI-524. Do not yet connect the network cable!Search for existing wireless networks with your computer. Connect with the router.This can for example be done like this:
    Click the start-button (at the bottom in the left corner of your screen).
    Go to control panel
    Go to internet connections (you may have to choose classic representation first)
    You can now see your wireless network card, among other things. Right-click and 'View available Wireless networks'.
    Connect to the router. In most cases the router will be called 'default'.Check your IP-address: you get an IP address from the DI-524
    Go to the start-button
    Go to 'Run'
    Type 'cmd' and press enter
    type 'ipconfig' and press enter
    your IP address starts with 192.
    Surf to your router with your regular browser. For this you need the address and a password, which you can find in the documentation.
    In this case the address is 192.168.0.1
    Now you must secure the router. For this it is best to use WPA-PSK
    Your key is a randomly chosen sentence. Don't make this sentence too short.
    Warning: Case sensitive!
    You cannot reach the router anymore now.
    Go back to your network card via "make connection". Search for your wireless network again and make a new connection
    You are asked for a key. Supply this key the way you configured it in your router.
    Surf back to the router.
    Disable the DHCP server.
    !! YOU HAVE TO DISABLE UPnP ON ALL TYPES OF ROUTERS
    OTHERWISE YOU CAN SEVERELY HINDER OTHER USERS IN YOUR NEIGHBOURHOOD!
    for this, go to Tools, Misc and switch off UPnP
    Save these settings.
    If you do not have a D-link router, look up in the manual or somewhere else where you can disable UPnP
    Now you cannot reach the router anymore again.
    It is only from this moment that you can connect the router to the modem.
    Important: Use one of the 4 LAN ports. Never use the WAN port!
    Go to your network card via the control panel. Right-click and "Repair"
    Now you should get an IP-address in the range of 10.nnn.nnn.nnn
    If you still don't have 192... you've made an error. The DI-524 still functions as a router and this is not allowed!

    There are no Mac based instructions. The router is accessed and adjusted the same way whether you are using a Mac OS X, Windows or Linux. As noted in the other post it is done through your web browser which works the same from any computer. Even a Chrome Book.
    akertrav wrote:
    Thank you for that what I have been trying to do is extend the range of my wifi witha second dilink router. I was hoping for some mac based directions to achive this rather than the PC based as presented. Thank you for your ireply Paul

  • Adobe flash CS6 crashes when using the type tool or Editing word all the time... please help!

    Adobe flash CS6 crashes when using the type tool or Editing word all the time... please help!

    Nobody can tell you anything without proper system info or other technical details. The standard answer with all text issues simply is, that you have a "bad font" on your system and need to get rid of it.
    Mylenium

  • Need to sort an object array using an element in the object.

    hi all,
    i need to sort an object array using an element in the object.can someone throw some light on this.
    Edited by: rageeth on Jun 14, 2008 2:32 AM

    [http://java.sun.com/docs/books/tutorial/collections/interfaces/order.html]

  • Help in using record type and object type

    Hi Experts,
    I am new to object types and record types.
    I want to return the output of this query using one OUT parameter
    from the procedure using RECORD type or OBJECT type.
    with out using refcursor.
    SELECT empno,ename,sal FROM emp WHERE deptno=30;
    Let us assume the query is returning 50 records.
    I want to send those 50 records to OUT parameter using record type or object type.
    Please provide the for the requirement code using RECORD TYPE and OBJECT TYPE separately.
    Your earliest response is appreciated.
    Thanks in advance.

    Hi All,
    I have tried this.But it ising not work
    CREATE OR REPLACE PACKAGE maultiplevalues_pkg
    IS
    TYPE t_record IS RECORD
    (empno emp.empno%TYPE,
    ename emp.ename%TYPE,
    sal emp.sal%TYPE);
    V_RECORD t_record;
    TYPE t_type IS TABLE OF V_RECORD%TYPE;
    PROCEDURE maultiplevalues_pROC(p_deptno IN emp.deptno%TYPE,
    dept_result OUT t_type);
    END;
    CREATE OR REPLACE PACKAGE body maultiplevalues_pkg
    IS
    PROCEDURE maultiplevalues_pROC(p_deptno IN emp.deptno%TYPE,
    dept_result OUT t_type)
    is
    begin
    dept_result :=t_type();
    for I in(
    select EMPNO,ENAME,SAL from EMP WHERE deptno=p_deptno
    LOOP
    dept_result.extend;
    dept_result(i).empno :=i.empno;
    dept_result(i).ename :=i.ename;
    dept_result(i).sal :=i.sal;
    END LOOP;
    END;
    END;
    Please help me OUT return multiple values through single OUT variable in a procedure.
    Thanks.

Maybe you are looking for

  • Chapters in iMovie 10.0.1

    In the new iMovie 10, I have not found how to put scoreboards of chapters. I believe that it is an indispensable function to make a familiar filming for DVD and to be able to locate the different situations. Does someone know some another way of putt

  • Setting File type in Upload UI Element

    I want to set the file type as *.doc when the Browse option opens up in the Upload button. Is this achievable.

  • Geforce 6800 Ultra - output only video to TV

    I just bought a new Geforce 6800 Ultra and I'm a little confused about the settings for TV output via the s-video cable. Is it possible to have only the video I'm watching zoomed full screen on the TV? Currently I'm only able to get the desktop shown

  • PLEASE fix the answer call swipe gesture!

    I have no trouble with any other gestures on the phone - they are beautifully responsive - and yet I am constantly missing calls while my finger is on the phone swiping at a circle graphic which gets halfway to the left and then flings back to centre

  • How to change the jobclass of a specific Infopackage

    Hi, the standard jobclass = 'C' .. but now, for the run of a specific infopackage I want to change the jobclass, only for this infopackage, to jobclass 'A' ... I've already tried to define a new job, with jobclass 'A' by selecting the jobname generat