How intelligent is getDate(), getDouble(), etc.?

If I call getDate() will the underlying data be converted to a Date? I mean if the underlying data is really a Time field will it still return a Date (since they can also represent time)?
Or if I call a getDouble() on an int or float column will it return a double of the value - or will it raise an exception?

Hi
I am watching this.
GetString() on a date datatype field returned a junk value for me (JdbcOdbc)
The field had a time value of 1:27 AM
getDate() returns "1899-12-30"
getTime() returns the correct value
getSTring returns a junk date - time value
Why?
Also I want to know when I can call getDate() or getTime() depending on the resultset.getColumnType
getColumnType = java.sql.Types.Date for a date field which can hold eother a date value or a time value
Please help

Similar Messages

  • Having an odd issue. Frequently, when I go to Safari, I see a popup that goes away in a few seconds. Looks almost like an app download, but disappears in a hurry and then goes to site I was last visiting. I'm stumped how to fix (popups disabled, etc)

    Having an odd issue. Frequently, when I go to Safari, I see a (what appears to be) popup that goes away in a few seconds. Looks almost like an app download, but disappears in a hurry and then goes to site I was last visiting. I'm stumped how to fix (popups disabled, etc.)... Goes away so quick I'm not even sure what it's about...

    Thanks for the update! Next, and this is like a last step for me, but I would quit Safari one more time, then clear all the Safari data from the phone with this info and then test it out again:
    Safari web settings on your iPhone, iPad, or iPod touch
    Clear information from your device
    To clear your history and cookies from Safari in iOS 8, tap Settings > Safari > Clear History and Website Data. In iOS 7 or earlier, tap Clear History and tap Clear Cookies and Data.
    To clear other stored information from Safari, tap Settings > Safari > Advanced > Website Data > Remove All Website Data.

  • HT201272 How can we delete apps, etc from the Previously Purchased list so that they don't show there anymore?

    How can we delete apps, etc from the Previously Purchased list so that they don't show there anymore?

    You can't currently permanently delete purchases, all you can do is hide them so that they are less visible : hiding and unhiding purchases

  • How to restore old prefs, etc after clean reinstall of 10.3.9?

    Due to a fiasco with Drive Genius I was forced to reformat and reinstall 10.3.9. Luckly, I was bright enough to manually copy over the entire contents of the drive to a firewire drive before I started the drive genius project.
    I was able to find directions on how to restore my users which worked perfectly.
    I've copied all the apps back. But all the apps were in the main drive rather than in users, so the prefs, registrations etc are, I assume, stored in the old library.
    Is there a way to replace the new library with the original to avoid several days work digging out the original packaging to get the serial numbers for re-entering so I can get back to work right away?

    The serial #s, etc were in fact in the original main library. I was able to restore the use of all the programs by manually replacing the missing items in each folder in the library. It took over an hour, but I got it all back and saved me from having to rummage through storage boxes for the original documentation to retrieve and re-enter all the info.

  • How do I format "icons", etc. so that I can replace folder with picture????

    Hi,
    Wonder if someone can help me. I already know how to go through the process, once the "picture" or "icon" or "clip-art" or clipart or ??? is ready to click on. Then get info, copy/paste, etc.
    My question is when I look for categories of icons, etc. (preferably free) I can't seem to get the icons or pictures in a format that I can just click and do that most of the time. Sometimes it works, like I looked for bathroom pictures, and it gave me a few pictures to download. I downloaded a picture of a bathtub to my desktop and it worked where the folder changed to a bathtub.
    What am I doing wrong? I would preferably like a lot of icons or avatars or whatever they are called for the Mac to choose from depending on a category and be able to click it and do this depending on the category I want. Or just google what picture I want. Ideally, I'd like a whole archive of little icons that are ready to replace the folder and look for them by category. I'm willing to buy a CD with lots if icons if necessary because I must be doing something wrong.
    Thanks!
    Trudi

    Hi Trudijane
    Welcome to the forum.
    Not sure what this has to do with Pages'09 but…
    Look here:
    http://iconfactory.com/freeware
    Go for the icons in the Apple logo, they are just stored on the folders, so you can copy and paste them on to whatever you want.
    You can also get CandyBar there which lets you store, browse and apply the icons in one operation.
    Peter

  • URL, title etc of webpages do not print on pages printed off internet despite selecting these in header/footers in page set up. How do I get URL etc to print on the page?

    No matter how I try I cannot get the URL of a webpage or other options such as page title, date etc to print if I print up a webpage. I have done the necessary selections in file>page setup>headers & footers choosing the options from the drop downs. I have even tried making top or bottom margin bigger thinking there was not space on the page. This is still the case if I try to print to different printers.
    Is there something I am missing that needs to be done via some other setting or menu item?

    Thanks, this was a good idea to try, however it doesn't seem to have helped.
    I reset:
    print.print_printer
    Also tried resetting:
    print.printer_Lexmark_6500_Series.print_footercenter
    print.printer_Lexmark_6500_Series.print_footerleft
    print.printer_Lexmark_6500_Series.print_footerright
    print.printer_Lexmark_6500_Series.print_headercenter;
    print.printer_Lexmark_6500_Series.print_headerleft
    print.printer_Lexmark_6500_Series.print_headerright
    Closed and restarted the browser.
    I then selected URL in footer right in page setup but still it refuses to show in print preview or print on the page in hard print. It is most peculiar. Any other ideas? Thanks.

  • How do I import contacts, etc. from an original iPhone to a new 3G iPhone?

    How do I import contacts, photos, history, emails, etc from my old original iPhone to my my new 3G iPhone? I tried the "import SIM Contacts" on phone, but no luck.

    Your contacts should be in Outlook or whatever program you sync your contacts to, Your photos should be in whatever folder you saved them in your computer, your e mails should be in your e-mail server, music should be on itunes.
    Everything should be on your computer if you are syncing as you should be.
    When you sync you new iphone you will sync it to the same information, that is on your computer.

  • How to configure Time Capsule etc as a local network server with remote access server and for backups

    I'm trying to set up new 3TB Time Capsule as a wireless network server (with remote access) and for backups for use in a small office (of two Macs). We have a late 2011 Intel MBP and a brand new MBA both running 10.8.3. We have two external 1TB hard drives that until now have been attached the MBP for storage and backing up that computer, which up until now was the only machine in use. The MBA is for a new employee and we need to share and work on the same files, both here in the office and ideally remotely too via Back to my Mac. The MBP needs constant access. The MBA only occasional. The TC has 7.6.3 firmware and we've set it up using AirPort Utility 6.2. It is currently attached to the MBP via ethernet and it has internet access via a Sagemcom router attached to TC's WAN port.
    We've managed to set up a wireless network and both have wireless internet access through the TC
    But there are so many issues I don't know where to begin - so I'll start with a description of what we're trying to achieve:
    I planned to use the TC as the main server drive and place all the key folders and files there so that both of us can access them wirelessly and remotely. The MBP would back up to the TC and to one or two of the external hard drives - one being attached to the Mac via USB and the other being attached to the TC's USB port. We would back up the important data on the TC using SuperDuper and copy it to both external USB drives.
    So , first of all, is that a sensible configuration? Should the 'server' be the one of the external hard drives attached to the TC USB port, backed up regularly to the TC using SuperDuper?

    But when you say 'So using USB drive does make sense if you want to use it as a file store', do you mean a USB drive plugged into the TC? I hope that I can attach an external drive to the TC so we can all access and read/write the content wirelessly via the TC network or remotely.
    Yes, USB.. as it prevents the sparsebundle mixing with data files. I guess it does depend on how much data you are talking about.. you can use the TC internal disk if you are careful and setup the sparsebundle with fixed sizes once you create them..
    And to be clear, I wasn't planning on backing up remotely via BTMM - only to access the shared folders on the TC data drive or USB external drive attached to it. I'm assuming that's ok?
    Yes, that is fine. Sorry I got the impression you were going to do backup over internet.
    What is the alternative? Having a Mac Mini that's always on? Do I need OS X Server etc.?
    A mini would be great.. you don't need server edition.. but I would see how the TC goes.. since you have it and it is much lower power consumption device. It is just that its design is not really for file storage.
    One big problem I have is to do with the sharing permissions. For everything on the TC or attached external drive attached to it, it says I have only custom access and every time I try to change permissions it says I don't have the permission to do that. And if I try to change the owner it says my user name is not valid.
    How is the security setup on the TC?
    The security is a bit tricky.. I must admit since I run windows computer in the network, that I simply turn on the guest account to read and write access. For a business setup that might not be adequate  but it allows me full access to all the files.
    If you setup the TC with user accounts then you are in trouble. That makes it very difficult to access, especially if one person already has the file open you may find a second user cannot login. I am not sure as I have avoided the security. IMHO it is meaningless.. since anyone with physical access to the TC can press the reset for one second and has full access.. and can add or change passwords.

  • I updated to Yosemite on my Mac. Firefox then began to freeze. I uninstalled Firefox and then downloaded/installed it again. How do I recover bookmarks, etc?

    I updated to Yosemite on my iMac. Firefox then began to freeze. I uninstalled Firefox and then downloaded/installed it again. It's possible I uninstalled everything Mozilla related. I'm not sure. How do I recover bookmarks, passwords, etc? I don't believe I previously had a username & password for Mozilla. I do have my Mac backed up in Time machine and also a Carbon Copy Clone.
    Also, I was able to migrate setting from Safari. Perhaps I don't want some of that stuff? Looking at the list of installed plugins, I have no clue if they're standard Apple/Mozilla stuff, or if they were selected by me/my family earlier in Safari? Are any of them a threat to my online security?
    Any detailed instruction would be most appreciated. I'm not much of a tech guy.
    Thanks.

    See:
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    You will have to find your previously used profile folder in the Time machine or other backup and restore the wanted files to the current profile folder.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show in Finder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    */Users/<user>/Library/Application Support/Firefox/Profiles/<profile>/

  • Itunes library is on a shared drive, how do I add laptops etc correctly?

    Hi folks,
    Short version:
    I have my itunes library on my WD My Book Live NAS. I would like a new laptop and a new PC to see this library and be able to add to it etc.
    Long version:
    I currently have a Desktop and a laptop, and itunes library on a NAS. I've tried and failed many times to get both the desktop and the laptop to look at and update the library correctly. There are still many albums that one pc does see but the other can't.
    I'm sure this was caused by me not setting it up correctly in the first place.
    I'm buying a new Laptop and putting Win 8 on the desktop so now I would like to sort this properly.
    I just want all my music in one place on the NAS and either PC on the network to be able to access it and new songs.
    Can anyone tell me how to do this?
    Cheers

    Is the entire library on the NAS or just the media folder? For background see Make a split library portable. Note that a shared iTunes library can only be opened by one computer at a time. A shared media folder can be accessed by multiple libraries, however this requires management to make sure that updates are reflected across all libraries.
    tt2

  • Want to give my old IPOD to husband but how do we share music etc - he wants different music and apps to me how can this be done without me deleting my stuff?

    Oooppss! Put the whole question in the title bar!
    What I would like to know is how do I get to keep my stuff different from my husbands, there are things that we both like and things that we don't. I dont want him to delete off my old IPOD if it means i have to keep installing again. I dont want to set up a new account because we want to share music and videos

    You'll notice that each iPad is identified by name.  See image below.  Highlight the appropriate iPad and configure iTunes the way that you wish.  The second image below is an example for apps.  You'll see something similar for movies, TV shows, etc.
    The only minor problem is app updating.  IF you choose to do it from inside iTunes, it's a minor nuisance.  Each app is permanently associated with whatever Apple ID was originally used to obtain it.  If you're logged in to the wrong ID, you'll need to log out and back in again.  On the bright side, if you update from the iPad, all you need is the password for the correct ID.  The iPad takes care of the rest.
    Mail is a special case.  I use Mac Mail and the setup is pretty much automatic.  What are you using?

  • I have installed new firefox - how do i get bookmarks etc. from old computer discs as old pc now broken.

    My old PC running Windows XP broke and was not repairable but we managed to salvage the drives. I have a new PC running Wondows 8.1 and have installed Firefox. Can you please tell me how I can get all my bookmarks, passwords etc. from the old disc onto the new Firefox. I have the old disc configured as an external hard drive so it can be read easily.

    http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Upgrading from iPhone 3G to 4 - how to keep music/SMSs/etc?

    Hi all,
    Just bought a new iP4. As far as I know, most music on my 3G is on the phone ONLY and not on the computer. How do I make sure that I transfer EVERYTHING to my 4, including photos, SMSs, music, etc.?
    Thanks!

    All iTunes content on your iPhone should be in your iTunes library on your computer - all music, movies, tv shows, and 3rd party apps.
    If you have Sync Music selected under the Music tab for your iPhone sync preferences with iTunes - you don't have manually manage music and videos selected with their being no benefit with manually managing music and videos with an iPhone, after purchasing music from the iTunes store with your iPhone, the music will be copied to your iTunes library on your computer automatically the first time you sync your iPhone with iTunes after doing so.
    The same with 3rd party apps when having Sync Apps selected under the Apps tab for your iPhone sync preferences, which should be selected for a number of reasons. With this selected, after downloading an app direct with your iPhone, the app will be copied to your iTunes library automatically the first time you sync your iPhone with iTunes after doing so.
    Photos in your iPhone's Camera Roll can and should be imported by your computer as with any other digital camera. The Camera Roll is for temporary storage no different with any other digital camera.
    And photos transferred from your computer via the iTunes sync/transfer process should remain on your computer.
    If you don't have Sync Music selected and Sync Apps selected, with your 3G connected to iTunes, at the iTunes menu bar go to File and select Transfer Purchases From - the name of your iPhone. This should transfer all music purchased/downloaded from the iTunes store direct with your iPhone and the same for all 3rd party apps.
    http://support.apple.com/kb/HT2109

  • How do I delete photos etc. that are in my Finder.  Iclick on it to put in trach and it is put in put the image still remains

    When I joined Facebook, and clicked on the person's pictures, I didn't realize I was downloading those pictures.  I went to the Finder today and under Searches I went to all images.  Could not believe how many pictures etc. were there.  I am trying to get rid of them but even when I put it in the trach, the image still remains.  I want to get rid of them.  Help.  I am not computer savvey.

    You must first open up a Finder window in order to view the customize setting;
    The next window will look like.....

  • How do I send cards etc to a overseas address?

    How do I send cards, calendars etc created in Iphoto to an overseas address, I can't see the option to change to another country.  Please can anyone help

    How do I send cards, calendars etc created in Iphoto to an overseas address, I can't see the option to change to another country.
    You have to order the cards from the Print Products Store in the country of the delivery address. The store is selected in the iPhoto Preferences:
    If a country does not appear in this menu, it does not yet have an Apple Print Products store and you cannot ship an order there.
    To be able to order from a Store in a different country, you have to use an Apple ID, that has a billing address in that county, with a credit card, that is valid in that country.
    See this support document:   Apple Print Products - Apple Store (U.S.)

Maybe you are looking for

  • HTML 5: Show fancybox with iframe video

    I am just getting started with HTML5. I have created an HTML5 animation using Adobe Edge Preview 6. I am not really a developer, but more of a web designer. Here is the URL for a PHP test page running the animation (at the top of the page): http://ww

  • Xsd:base64Binary vs Datahandler

    Hi There, I was developing a webservice using top down approach( wsdl to java). So in one of my complex types, I defined an element type as xsd:base64Binary( in wsdl file) <xsd:element minOccurs="1" maxOccurs="1" name="token" type="xsd:base64Binary"/

  • Learning Co-ordinate System - Problem

    Hi I created a sample project to epxlain my problem. There are two canvases in the main application. outerspace canvas and innerspace canvas. innerspace canvas has a visual component "mainBox" and there is also a visual component in outerspace canvas

  • Java program that create a graphic interface of the WGET program

    Hello, How can I make a Java program that create a graphic interface of the WGET program. Please post something already developed. No Applet. Thank you.

  • Problem to reinstall Adobe suite on mac ?

    after a did a clean install in mac book pro I am not able to reinstall the creative suite in my mac. I tried to install it from the cd I had bought it but it says "the seri a number you entered is valid, but a qualifying product cannot be found on th