Where is the getString() implementation for RS and Object class question

Dear all,
I had these two questions ringing since a long time.
1)ResultSet is an interface.
In my jdbc code I have generally written rs.getString() and rs.getInt etc.. without giving a second thought as to where exactly is this getter implemented !
I have RTF API .. without too much help.
Could some one kindly explain Where is the implementation of the getString method ?
2) Could you please tell why the Wait() Notify() and NotifyAll methods have been implemented in the Object class ? What was the need to define em in the Object class ?
Thanks in advance for your time spent on this.
Rgds

Sarvananda wrote:
In the MySQL driver for example it's implemented in com.mysql.jdbc.ResultSet Right. Now it makes sense to me. Every single db that gives me a driver will have their specific implementation for the interface methods of ResultSet.
>
why do you need that?
..Thats a design decision
One of my friends asked me this and I was caught unawares. Any ideas on what factors could have made this design decision ?
Rgds
>
In the MySQL driver for example it's implemented in com.mysql.jdbc.ResultSet Right. Now it makes sense to me. Every single db that gives me a driver will have their specific implementation for the interface methods of ResultSet.
>
why do you need that?
..Thats a design decision
One of my friends asked me this and I was caught unawares. Any ideas on what factors could have made this design decision ?
A desire to not have to couple your code to a particular database and JDBC driver. It's a classic example of the abstract factory pattern

Similar Messages

  • [svn:fx-trunk] 12827: Removed the accessibility implementation for WindowAccImpl and WindowedApplicationAccImpl as they are likely not needed .

    Revision: 12827
    Revision: 12827
    Author:   [email protected]
    Date:     2009-12-10 19:03:29 -0800 (Thu, 10 Dec 2009)
    Log Message:
    Removed the accessibility implementation for WindowAccImpl and WindowedApplicationAccImpl as they are likely not needed.  In their current form they were preventing the accessibility of child components from being exposed.
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/airspark/src/spark/accessibility/WindowAccImpl.as
        flex/sdk/trunk/frameworks/projects/airspark/src/spark/accessibility/WindowedApplicationAc cImpl.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Where can I find the referrence implementations for CLDC and MIDP2?

    Can anyone pls get me the implementation packgages for CLDC and MIDP2?

    Look around the downloads section of the Sun site. The file name will be something like midp-2_0-src-windows-i686.zip.
    db

  • Where is the official ROM for S650 and instructions

    Hi,
    1. Where can I find the official stock rom for the S650 and instructions on flashing, in case something goes wrong and I need to reflash the phone.There doesn't seem to be anything on the Lenovo website other than the source code.
    I saw the this link http://www.needrom.com/download/lenovo-s650-vibeui-2-0-2/. But its not an official Lenovo website and it says developer version.
    2. Is there an AOSP port or Cynogen etc for the S650?
    Thanks.
    Solved!
    Go to Solution.

    Hi
    1.I can guarantee that THIS is 100% official ROW (after flashing this you can OTA update to the latest available ROW firmware).
    2.HERE you can find S650 AOSP/MIUI/LeWA ,etc ports (use google translate)
    See message 7 of http://forums.lenovo.com/t5/Lenovo-Phones/Lenove-S650-sound-issue/m-p/1413747#M3660 for flashing instructions(Flash Tool V3/V5).
    Hope it helps
    Cheers.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as ''ACCEPT AS SOLUTION"! 
    Unsolicited PM's will not be answered! ....Please post your question/s in the appropriate forum board.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Where are the Serial Numbers for T410 and Mini Dock Series 3?

    I recently called the support line, and between the young ladies on the phone and me, we couldn't find them anywhere!  There are lots of other numbers, but we couldn't find anything with an SN, S/N etc.  And why (Lenovo engineers, I'm looking at you!) do the numbers have to be in such tiny font and of a color that blends in so well with the color of the computer or device?  There is an entire laptop bottom to use, I'm sure there's enough room to put numbers that can be more easily read  wtihout having to resort to magnifying glasses. 
    At any rate, someone, please tell me where they hid the serial numbers on these two pieces of equipment?
    Also, I apologize for sticking this post in an existing, not-exactly-the-same-topic thread, but I couldn't find any sort of "create new thread" button anywhere.  I also did a search, and while there were posts on how to find the serial numbers on other models, I couldn't find one for the  T410.
    Thanks so much ,in advance.

    Using the mini dock series 3 you don't have to undock to remove the computer. So it's not like when using the advanced mini dock where you had to undock before the computer can be removed. That is why you don't have the undock option under the start menu or undock options in easy eject when connected to the mini dock since you don't have to undock.
    If you don't use Access Connections the wireless radio will not be turned off when connected to the network using a cable. If you use Access Connections you should check that a profile have actually been applied and also the settings to allow the radio to be turned off.
    Since you get network access through the docking it sounds like it's working fine. Is the monitor connected to the docking working as well?
    -gan

  • I just got the macbook air for christmas and i also got the dr dre headphones so i am trying to enable my soundcheck on my iTunes but i cannot figure out how to find where sound check is located can someone please help!!

    i just got the macbook air for christmas and i also got the dr dre headphones so i am trying to enable my soundcheck on my iTunes but i cannot figure out how to find where sound check is located can someone please help!!

    Go to the iTunes menu > Preferences > Playback.

  • Want to install Indesign on my new computer but am having trouble. First bought CS2 in 2009 and upgraded to 7.5 in 2011. I have the serial numbers for both and was able to use it on my last computer. Where do I start?

    want to install Indesign on my new computer but am having trouble. First bought CS2 in 2009 and upgraded to 7.5 in 2011. I have the serial numbers for both and was able to use it on my last computer. I don't use Indesign that often but there are some projects that it's good for. Where do I start?

    Lchrichton123 what version of InDesign specifically are you wishing to install?  You can find links to the installation files for the majority of Adobe Creative software titles at Other downloads

  • Where is the "accept" button for iTunes Store Terms and Conditions on the iPad?

    Where is the "accept" button for iTunes Store Terms and Conditions?  Can't use iTunes on my iPad without accepting conditions.

    Which tab in the iTunes app are you in ? If you are in the Downloads tab then the Ts & Cs link shows if you don't have any outstanding downloads - your download and synced films and TV shows should be in the Videos app and your music, audiobooks and audio podcasts in the Music app

  • Where is the agree tab for the terms and conditions so I can proceed to purchase musuc

    Where is the agree tab for the terms and conditions so I can proceed to purchase musuc

    Sorry Randers, had to keep trying, couldn't accept the image wouldn't upload.

  • Where do I find the long text for Damage and Cause in Notifications (IW21)

    Hi ppl,
    Can anyone let me know where the long text for Damage and Cause is stored (can be seen in IW21)?
    Can I retrieve it through FM READ_TEXT? If yes, what are the values of the parameters to be passed?
    Thanks,
    David.

    Hi!
    It is easy to check whether some text is read by "READ_TEXT" or not.
    1) Create text in dialogue mode and save it.
    2) Place brake-point in READ_TEXT FM
    3) go to view this text in transaction again
    If the program is switched to debug mode, it means u can use this FM. Have u tried do this stuff?

  • Where can we find the standard program for scripts and smartform for vl02

    where can we find the standard program for scripts and smartform for vl02
    regard,
    anil

    If it is a standard Script Output see that all config in NACE tcode was done correctly and in the Application document the output type was properly defined and attached to a medium, partner and all communication related things like printer name, when to print the output and number of messages etc are entered in the document
    the go to the related application Tcode
    (for sales order goto VA02 or VA03)
    (delivery -VL02N or VL03N)
    for Invoice VF02 or VF03
    for PO -goto ME9F
    enter doc number, Issue Output to -> screen/printer
    then see the output
    step 1 : copy the z layout into testing client thru SCC1.
    step2 : go to se71 and check modified layout.
    step3 : if it is under logistics.. go to TCODE "NACE".
    u will see various applictions for each business process.
    there u have configure ur related layout according to requirments,
    for example u consider for Request fo Quatation..
    there is APPLICATION called "EA"
    click and enter into it. configure it with ur requirments, for help consult with ur functonal consaltant, and save it.
    step 4 : goto tcode ME9A for requst for quatation(RFQ).
    step 5 : enter test data avalable and check it with message display.
    it is same for other applications like Contract agreament --> ME9k
    invoice --> vl02n
    and goes on..
    Reward points for useful Answers

  • Where is the download link for premiere elements 10 and previous versions?

    Where is the download link for premiere elements 10 and previous versions?
    Also the search program doesn't find previous version downloads.
    Chat is completely busy and won't let me in.
    And I am not paying $39 for what is an Adobe issue.
    FAIL!
    Anyone know where I might find it?

    A.T. Romano wrote:
    ProDesignTools offers these downloads for the Adobe tryouts of older Photoshop Elements and Premiere Elements versions
    What I've always found strange though is that the downloads themselves come from Adobe's servers. Just seems weird that Adobe themselves won't provide the links!
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • How does one change the font size for folders and/or file lists in the Bookmarks Library?

    How does one change the font size for folders and/or file lists in the '''Bookmarks''' Library?
    Since the upgrade to version 9.0.1 of Firefox, the Bookmarks feature changes are confusing me. They seem to be confusing themselves as well. The list of bookmarks has changed. The font size is so small that my aging eyes cannot read it without fogging the screen with my breath. Some folders are out of alphabetical order (where I know they were previously good), and some are missing altogether (folders to which I frequently add references).
    As for missing or deranged files or folders, was there something that I should have done or now need to do to recover those after the upgrade (or before)?
    With regard to font size,
    1. there is no “Edit Bookmarks” or like option to edit the list in this version
    2. the “zoom” option in the “view” list of functions is greyed out when in “Show All Bookmarks” window
    3. expanding the browser window has no effect on font size
    4. “Preferences” settings for font size has no effect in that window either, including advanced settings
    5. “Help” offers none that I can find.
    Can any of you Help?!?

    Maybe this extension helps:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • How to know the dynamic values for this :AND category_id_query IN (1, :3, )

    Hi Team,
    R12 Instance :
    Oracle Installed Base Agent User Responsibility --> Item Instances -->
    Item Instance: Item Instances > View : Item Instance : xxxxx> Contracts : Item Instance : xxxxx> Service Contract: xxxxx>
    In the above page there are two table regions.
    Notes.
    -------------------------------------Table Region---------------------------
    Attachments
    -------------------------------------Table Region---------------------------
    --the attachments are shown using the query from the fnd_lobs and fnd_docs etc...
    I want to know what are the document types are displayed in this page ?
    --We developed a custom program to attach the attachments to the  services contracts and the above seeded OAF page displays those ..as needed.
    But after recent changes..the Attachments--> table region is not showing the attachments.
    I have verified the query..and could not find any clue in that..
    but i need some help if you guys can provide..
    SELECT *
    FROM
    *(SELECT d.DOCUMENT_ID,*
    d.DATATYPE_ID,
    d.DATATYPE_NAME,
    d.DESCRIPTION,
    DECODE(d.FILE_NAME, NULL,
    *(SELECT message_text*
    FROM fnd_new_messages
    WHERE message_name = 'FND_UNDEFINED'
    AND application_id = 0
    AND language_code  = userenv('LANG')
    *), d.FILE_NAME)FileName,*
    d.MEDIA_ID,
    d.CATEGORY_ID,
    d.DM_NODE,
    d.DM_FOLDER_PATH,
    d.DM_TYPE,
    d.DM_DOCUMENT_ID,
    d.DM_VERSION_NUMBER,
    ad.ATTACHED_DOCUMENT_ID,
    ad.ENTITY_NAME,
    ad.PK1_VALUE,
    ad.PK2_VALUE,
    ad.PK3_VALUE,
    ad.PK4_VALUE,
    ad.PK5_VALUE,
    d.usage_type,
    d.security_type,
    d.security_id,
    ad.category_id attachment_catgeory_id,
    ad.status,
    d.storage_type,
    d.image_type,
    d.START_DATE_ACTIVE,
    d.END_DATE_ACTIVE,
    d.REQUEST_ID,
    d.PROGRAM_APPLICATION_ID,
    d.PROGRAM_ID,
    d.category_description,
    d.publish_flag,
    DECODE(ad.category_id, NULL, d.category_id, ad.category_id) category_id_query,
    d.URL,
    d.TITLE
    FROM FND_DOCUMENTS_VL d,
    FND_ATTACHED_DOCUMENTS ad
    WHERE d.DOCUMENT_ID = ad.DOCUMENT_ID
    *) QRSLT*
    WHERE ((entity_name    ='OKC_K_HEADERS_V'-- :1
    AND pk1_value          IN ( 600144,599046) --:2
    AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    AND datatype_id       IN (6,2,1,5)
    AND (SECURITY_TYPE     =4
    OR PUBLISH_FLAG        ='Y')))
    --='000180931' -- 'ADP118'
    The above seeded query is the one which is used for table region to retrieve the data..
    how to know the dynamic values for this : AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    --Sridhar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Patricia,
    is it working for restricted key figure and calculated key figure ??
    Note Number Fisc Period Opening Days
    1 1 2
    2 1 3
    3 1 0
    because I have other restriction, so I create two restricted key figure..
    RK1  with restriction :  Total Number of Note,
    RK2  with restriction :  Total Opening Days ,
    then I Created a calculated key figure, average opening days in a period
    CK1 = RK2 / RK1..
    in this case, I am not sure if it will work or not..
    for example, during RK2 calclation, it might be this   2+3 = 5, the line with 0 will be ignored..
    during RK1 calcualtion, it might be 1 + 1 + 1 = 3. ---> Not sure in this case, the line with opening days 0 will be calculated or not..
    could you please confirm..

  • HT1418 I have iPod4 and cannot see day-to-day appointments, etc on PC Outlook calendar.  Only repeated items (birthdays, anniversaries, etc.) are visible.  Where is the rest of my data and how do I restore it to the only calendar I have in Outlook?

    I have iPod4 and cannot see day-to-day appointments, etc on PC Outlook calendar.  Only repeated items (birthdays, anniversaries, etc.) are visible.  Where is the rest of my data and how do I restore it to the only calendar I have in Outlook?
    Thanks

    Hello Schimi. The Time Capsule is a kind of product that offer you two possibility:
    - To use the TC as a router or as an external HD.
    The difference between WPA and WPA 2 are:
    - They are two kinds of internet connection.
    WPA uses dynamic key encryption , which means that the key is constantly changing and makes the invasion of a wireless network more difficult than WEP . WPA is considered one of the highest levels of wireless security for your network and is recommended if your devices support this kind of encryption . Newer routers offer WPA2 security . WPA2 is compatible with WPA , but offers higher security level . In fact, it meets the high standards of many government agencies . If the router and computer support WPA2 , this should be your choice.
    If you need any help or if you find some difficult setting up it you can contact Apple Support.
    I am sure that they can help you with that.
    I am sory for the delay. I holpe that you solve your issue.

Maybe you are looking for

  • I want to transfer my Acrobat 9,0 to a new computer

    I have been running acrobat 9,0 serial nr [serial number removed by host] since 2008. It is an update version, and after installing I am asked for the original serial nr. This original serial nr is lost on the old computer. How do I activate the prog

  • Error - Settlement for WBS Element

    Dear All My query is the prj is EP & WBS El is EP-99, under EP-99 the avialable values are Rs192,523/- as per different cost element wise & the values has been posted/transferred the reposting transaction from another wbs element. Those values have t

  • Find and replace $ amount code

    I am wondering how change i change a code from <td align="center" bgcolor="#FFFFFF">             <font face="Tahoma" style="font-size: 11pt">             <strong style="font-weight: 400">$12.50</strong></font></td> to this: <td class="buy">$12.50</td

  • Installing new SCCM 2012 infrastructure over an existing SCCM 2012 Infrastructure

    Greetings, I currently have a standalone SCCM 2012 environment running in production.  This implementation isn't in a hierarchy and doesn't support Macs (non-PKI/HTTPS infrastructure), but is managing 1500 PC clients beautifully. However, we have som

  • Admin user security in obiee 11g

    Hi, Can we restrict particular admin user(newly created) in seeing the data in all the reports,where he can see only the coulmn names. when ever he generates the report. ex: A B C 1 2 3 4 5 6 is the data genereated in the report, the admin user shoul