What am I doing wrong? (Can't find table)

Hello,
I can run the following query perfectly in SQL*Plus: SELECT * FROM ETS.MYTABLE
But when I run the exact same query in my java code using the following statement:
stmt.executeQuery( "SELECT * FROM ETS.MYTABLE" )
I get the following exception: java.sql.SQLException: ORA-00942: table or view does not exist
Both the table, as well as the schema ETS, exist and this is validated when the query is run in SQL*Plus.
What am I doing wrong? Please help!!
Regards
Nadeem

Are you connecting as the same user in both SQL*Plus and your JDBC app?
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Guys what am i doing wrong can somebody tell me?

    hi,
    i am trying to replace spaces with '^' character in my textfield. so i first get the text to a string and then send it to this method but it doesn't replaces any space character with '^' (in short the string does changes )
    Please help thank
    public String replaceNow(String tmpStr) {
    int iVar = 0;
    Character c = new Character(' ');
    while(iVar<tmpStr.length()) {
    if(Character.isSpaceChar(tmpStr.charAt(iVar))) {
         tmpStr.replace(c.charValue(),'^');
    iVar++;
    return tmpStr;

    Hi,
    Maybe you should try it that way:
    public String replaceNow(String tmpStr) {
    return tmpStr.replace(' ','^');
    Hope this helps,
    Alex.

  • Calendar does not synch properly.  what am i doing wrong?

    when i synch my iphone with my imac, everything synchs beautifully....  my music, my videos, my apps.  everything EXCEPT my calendar.  MOST of my events are duplicated (on my iphone - none on my computer), but some show up on ical and some show up on my phone...  nothing is consistent.  i feel like i have tried everything.  turning on icloud back up, turning off icloud back up.  going through my WHOLE calendar on my iphone and erasing duplicate entries.  i don't know what i am doing wrong.  can anyone help?

    when i synch my iphone with my imac, everything synchs beautifully....  my music, my videos, my apps.  everything EXCEPT my calendar.  MOST of my events are duplicated (on my iphone - none on my computer), but some show up on ical and some show up on my phone...  nothing is consistent.  i feel like i have tried everything.  turning on icloud back up, turning off icloud back up.  going through my WHOLE calendar on my iphone and erasing duplicate entries.  i don't know what i am doing wrong.  can anyone help?

  • Emailing photo - what am I doing wrong

    I have just purchased photoshop elements 9, I have a mac, and I am trying to email a photo which I have adjusted to the size requested which is 1300 w x 1000 h pix at high res, the photo is of the Beatles from 1965 but when I click email attachments a box comes up with a logo which is like something broken, whenever I try to send the picture via regular email it is never the right size, I even paid someone to do it on to a disc and it is still not right when I email it, IT IS ALWAYS TO SMALL, this picture is going to be used on a website header so it is holding everything up what am I doing wrong can anyone help.
    Thanks
    Blurslider

    Do you use OS X mail? Put the photo on the desktop so you know where it is, start a new message in mail, click the attachments button and navigate to the copy you want to send.
    Do not use PSE or the Photo Browser in mail. Either will resize the image.

  • My Top Rated songs, when I synch my iP4S - comes up with an error message saying it can't find all the songs. When I check, library has songs listed but with a "!" bubble next to them. When I click on them they play. What am I doing wrong?

    When synching, itcomes up with an error message saying it can't find all the songs. When I check, library has songs listed but with a "!" bubble next to them. When I click on them they play. What am I doing wrong? This happens every time so I click them and it sorts them (boring with 200 odd). How can I prevent this?

    Once you successfully add you iTunes library to iTunes Match, you go to Settings>iTunes & App Store on your iOS device and turn on iTunes Match.  Your iTunes Match library will then appear on your iOS device.

  • I have just bought an apleTV. I can't find the mirroring button on my toolbar, however I can mirror using Itunes, I have searched in systempreferences - Displays but it won't show me the Device. I have already tried restarting all. What am I doing wrong?

    I have just bought an appleTV. I can't find the mirroring button on my toolbar, however I can mirror using Itunes, I have searched in systempreferences -> Displays but it won't show me the Device. I have already tried restarting the router, appleTv and Imac. What am I doing wrong?

    A supported Mac
    AirPlay Mirroring in OS X takes advantage of the hardware capabilities of recent Macs to deliver high frame rates while maintaining optimal system performance. The following Mac models support AirPlay Mirroring::
    iMac (Mid 2011 or newer)
    Mac mini (Mid 2011 or newer)
    MacBook Air (Mid 2011 or newer)
    MacBook Pro (Early 2011 or newer)
    Mac Pro (Late 2013)
    Which Mac do I have?
    How to identify your MacBook Air
    How to identify MacBook Pro models
    How to identify iMac models
    How to identify Mac mini models

  • I have a pc and am using the trial version for now.  I have readabout and seen  on other computers, but no matter where i look or follow the dirrections i can not find the mini bridge what am i doing wrong.  thank yo

    i have a pc and am using the trial version for now.  I have readabout and seen  on other computers, but no matter where i look or follow the dirrections i can not find the mini bridge what am i doing wrong.  thank you

    CC and CC2014 are the current versions of Photoshop.  CC stands for Creative Cloud.
    That being cleared up, a respectful request:
    Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
    That field is not for attempting to fit your entire question in there.
    Please keep this in mind next time you post.  Thank you.

  • I do all the steps to set wirelessly my TC but when i do my network can't find it. i don't have a modem near by but i have good signal to the mac. what am i doing wrong?

    i do all the steps to set wirelessly my TC but when i do my network can't find it. i don't have a modem near by but i have good signal to the mac. what am i doing wrong?

    Since you mention that the "modem" (which I'm guessing is a wireless router) is not close to the Time Capsule, I'm guessing a second time when I ask if  you are trying to configure the Time Capsule to "join" your network using wireless only.
    Is that correct?

  • I bought a movie, but I can't find it to watch. I can't even buy another one. What am I doing wrong?

    I bought a movie, but I can't find it to watch. I can't even buy another one. What am I doing wrong?

    In fact, now I just see: INTERNET, COMPUTADOR (PC) e AJUSTES (MENU/SETTINGS) - I'm brazilian and I'm not so sure about the name of MENU in EUA Apple TV.
    Anyway, I remember that until yesterday I could see FILMES (MOVIES) at the first MENU, and now it's no longer available.
    Do you know what's happening?

  • HT204266 I can't find apps that I know are available what am I doing wrong? I have typed it correctly

    I can't find apps that I know are on the market what am I doing wrong?

    What specific apps are you looking for?
    Not all apps are available for all operating systems, and
    apps that are available in some countries may not be
    available in other countries.

  • Have airport extreme, square model, have a external harddrive to use as back up(formated for mac)hooked it up to the usb port in back. can't find it on my computer. what am i doing wrong

    have the airport extreme, square model. have a external harddrive formated for mac hooked up to the usb port in back.
    i can't find the harddrive on the computer for back up in timemachine. what am i doing wrong?

    First, if you are not aware, you need to know that Apple does not officially support Time Machine backups to a drive at the USB port of the AirPort Extreme.
    That may be part of the problem here, so if you want to continue to try this, you need to understand that there are no guarantees of success.
    Some users do seem to be able to make this work, but most have some problems and some....like me....have nothing but problems when they try this.
    If you want to continue to try this, the first thing to verify is that the drive is formatted specifically in Mac OS Extended (Journaled). Have you verified that the drive is formatted correctly by connecting it directly to your Mac and using Disk Utility to check?
    Some drives that are advertised as being "compatible for Mac" are not formatted correctly in Mac OS Extended (Journaled). Time Machine has no chance of success unless the drive is first formatted correctly.
    I would also ask that you consider leaving the drive connected to your Mac for Time Machine backups. That will be supported, and is a far more reliable way to keep backups if your data is important to you.
    Next, we need to know what operating system you are running on your Mac. If you do not know, click the Apple icon in the upper left corner of the screen and then click About This Mac.  Post back with the OS X Version number that you see there.

  • When I turn on my iPad the grey 'brightness slider' is in the centre of the screen and I can't get rid of it. I've tried switching on / off 'auto-brightness' in 'settings' but it won't go away. What am I doing wrong? Any advice gratefully received.

    When I turn on my iPad the grey 'brightness slider' is in the centre of the screen and I can't get rid of it. I've tried switching on / off 'auto-brightness' in 'settings' but it won't go away. What am I doing wrong? Any advice gratefully received.

    That folder with the question mark icon means that the MacBook can't find the boot directory. That can either mean it can't find the hard drive or the Operating System data on the hard drive is somehow corrupted.
    Put your install DVD into the optical drive (CD/DVD drive) and reboot. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option key until the Install Disk shows up). That will force your MacBook to boot from the install DVD in the optical drive.
    When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. When it comes up is your Hard Drive in the list on the left?
    If it is then click on the Mac OS partition of your hard drive in the left hand list. Then select the First Aid Tab and run Repair Disk. The Repair Disk button won't be available until you've clicked on the Mac OS partition on your hard drive. If that repairs any problems run it again until the green OK appears and then run Repair Permissions.
    If your hard drive isn’t recognized in Disk Utility then your hard drive is probably dead.

  • I am trying to print redplum coupons and I can't, help.  I have updated java, adobe flash, and made sure my printer was set on default.  I am not sure what I am doing wrong.  I have contacted redplum and no one will help.

    I am trying to print redplum coupons and I can't, help.  I have updated java, adobe flash, and made sure my printer was set on default.  I am not sure what I am doing wrong.  I have contacted redplum and no one will help.

    No Apple response???  Redplum/Valassis will not help either.  I searched, using the cups error message and though it is Unbuntu, same error so maybe useful...only problem: details would not display unless I join Unbuntu forum.  What a pain to do anything with my Mac or find any help.  I honestly regret buying this buggy OS.
    Anyway, here is what I found, FYI:
    http://ubuntuforums.org/showthread.php?t=483415
    As the old saying goes: when in doubt, consult the manual. The problem appears to be that I added the printer using the KDE Add Printer Wizard. It was automatically given a "socket" URI instead of an "lpd" one. When I:
    - altered the printer settings at http://localhost:631 (the CUPS admin page) as instructed in the manual for the printer, and
    - copied the PPD file into a second place on the hard drive (as instructed on ubunutuforums, see the link above)
    ..everything started working.
    It's still slower than windows, but I can live with that
    Probably a simple fix. Change the socket I.P. to match the printer I.P. like this:
    socket://192.168.1.86:9100. The thing I'm concerned with using socket:// is that AFAIK the printer I.P. must not change. In my case I'm able to assign a static I.P. address to the printer but it's something to consider.
    I found that the only thing I needed to do was change socket to lpd (and remove :9100 off the end as well). See Solving Ubuntu printer “broken pipe” problem (DocuPrint C525A) . BTW thanks for steering me in the right direction - very grateful.      
    Solving Ubuntu printer “broken pipe” problem (DocuPrint C525A)
    Posted on November 25, 2008
    Are you having a problem with your printer under the latest versions of Ubuntu (perhaps it worked under an older version)? Are you able to print short documents, but not longer, or more graphics-intensive, documents? (e.g. the unfortunate people at http://ubuntuforums.org/showthread.php?t=625493). Do they sit there as Processing for ages and then switch to Held? If you have the same problem I had the solution I tried may work for you too. Firstly, check your cups error log:
    sudo gedit /var/log/cups/error_log
    If you see anything like the following, the solution may be simple:
    [Job 201] Unable to write print data: Broken pipe
    PID 13359 (/usr/lib/cups/backend/socket) stopped with status 1!
    System > Administration > Printing and right click on your printer, selecting Properties. Settings > Device URI
    If you see something like socket://your_printer_ip_address:9100 just change socket to lpd and remove the :9100 off the end. Then click on apply.
    Apparently lpd is a more modern protocol which works with most printers whereas socket is more raw (and potentially faster but riskier in a network situation). Somewhere along the line, the default Ubuntu/Gnome setup for networked printers shifted from lpd to socket. Some primitive printers will have benefited whereas a larger number of more modern printers will have suffered.
    Please correct me if I am wrong (which is highly possible) but the underlying problem could be that socket may make the printer wait a long time for a large file to be processed ready for printing. Some printers, such as the Fuji Xerox DocuPrint C525A, may drop the socket if things take too long to start coming through.
    Changing timeout settings might work but lpd is better than socket so it is the preferred solution in any case.
    If this works for you, please leave a comment to let others know (ideally with a description of the printer and Ubuntu version). Printer may be relevant if it doesn’t support the direct stream protocol properly. NB I may take a while to let your comment through because of the volume of spam. Sorry about that.
    Finally, thanks to sphilli8 for the steer in the right direction at http://ubuntuforums.org/showthread.php?p=6245626.
          http://ubuntuforums.org/showthread.php?t=483415

  • [SOLVED] Can't get GDM to run - what am I doing wrong?

    Alright, I'm running a fresh, up to date install of Arch in a virtual machine, and I'm consistently unable to get GDM to work properly. I pretty much followed the beginners' guide, and tried reinstalling from scratch several times. I've installed gdm, gnome, gnome-extra, dbus, and anything else the wiki recommends, like virtualbox-archlinux-additions. I edited /etc/inittab and /etc/rc.conf accordingly.
    Relevant lines in /etc/inittab:
    #Boot to X11
    id:5:initdefault:
    x:5:respawn:/usr/sbin/gdm -nodaemon
    Relevant lines in /etc/rc.conf:
    MODULES=(vboxguest vboxsf vboxvideo)
    DAEMONS=(syslog-ng dbus network crond)
    When I start the virtual machine, it displays the CLI login interface along with a bunch of warnings:
    Arch Linux 3.4.4-2-ARCH (tty1)
    vbox login: gdm-binary[388]: WARNING: GdmDisplay: display lasted 0.271335 seconds
    gdm-binary[388]: WARNING: GdmDisplay: display lasted 0.011053 seconds
    gdm-binary[388]: WARNING: GdmDisplay: display lasted 0.011250 seconds
    gdm-binary[388]: WARNING: GdmDisplay: display lasted 0.010699 seconds
    gdm-binary[388]: WARNING: GdmDisplay: display lasted 0.010361 seconds
    gdm-binary[388]: WARNING: GdmDisplay: display lasted 0.010921 seconds
    gdm-binary[388]: WARNING: GdmDisplay: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors
    After that, I can still log in just fine, though I obviously never get into any desktop environment because of it. I have no idea where to find the X server log. I skimmed through /var/log, but couldn't find any log file with remotely helpful contents besides 'gdm'. The contents of the 'gdm' file:
    ** (gdm-binary:519): WARNING **: Failed to acquire org.gnome.DisplayManager
    ** (gdm-binary:519): WARNING **: Could not acquire name; bailing out
    I've been bashing my head against this problem for several days now, but been unable to actually fix it. Anyone feel like pointing out what I'm doing wrong or how to proceed?
    Last edited by Caelum (2012-07-11 19:44:04)

    Aaaand figured it out thanks to that one. I skipped starting it manually in this VM; got it to work when started manually on a previous install, and hence assumed it'd be fine.
    Turns out, I was doing the installations of the base packages - # pacman -S xorg-server xorg-xinit xorg-server-utils - wrong somehow. I think I must've missed that step or something; installing xorg-server and xorg-server-utils through Pacman just now solved my problem.
    Thanks for the help. Much appreciated.
    EDIT: Wonder, you ninja you.
    Last edited by Caelum (2012-07-11 19:45:28)

  • Can not use my backup photos, what am I doing wrong?

    I am having problems using the photos from my external hard drive. I switch library, and get all the thumbs up in iphoto. When I try to edit them or export in any way, I am not allowed to. This is very frustrating, can anyone tell me what I am doing wrong?

    n555:
    Welcome to the Apple Discussions. The "!" in the edit window indicates that iPhoto has lost the link to the original file in the Originals folder. Check in the Originals folder to make sure you have the full sized image files in there.
    Did you rename or move any files/folders in the iPhoto Library folder from the Finder? That's one way to get the situation you're experiencing but it would be only for those you tampered with. Since it's the entire library then you've probably fallen victim to the damaged database file problem that hit a lot of users.
    If the full sized image files are there you can try to rebuild the library as follows: launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select all of the options. I'm not optimistic that the rebuild will recover your library but it's worth a try.
    If the rebuild does not work you'll have to start a new library and import the image files from the damaged one as follows:
    1 - rename the iPhoto Library folder that's on the external HD.
    2 - launch iPhoto with the Option key depressed and, when asked, select Create a new library, navigate to the external HD and do so.
    3 - with the new library open, drag the Originals folder from the old library into the open iPhoto window.
    This will give you a new library with the same rolls as the old one. However you'll lose your albums, slideshows, keywords, etc.
    To help protect from this type of problem in the future check out the tip at the end of my signature.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

Maybe you are looking for

  • What info do I need to enter to access my home wireless router when setting up my new IPad?

    While setting up my new IPad I keep having trouble connecting to my home wireless router.  It keeps telling me to pick a wi-fi network from the list it gives me of ones that are available.  I choose my home wi-fi network that is password protected an

  • Has anyone else experienced Airplay audio dropping?

    Has anyone else experienced Airplay audio dropping while playing mp3s from MacBook Pro to Apple TV 2 and/or Airport Express g and/or n versions with an Airport Extreme N base? Using mp4 works fine but I've got some older files in mp3 that in between

  • Cant update to IOs 5.0.1

    hi, i keep trying to update my iphone 4 to ios 5.0.1 but keep getting error 3194. ive uninstalled itunes 5 times now. im on windows xp and its the latest update as well. but no matter what i do it wont update. can anybody help?

  • Duplicate Application Appearing in Applications Tab

    I have several applications that I have purchased for my iPhone, one of these applications (Fizz Weather) appears twice in the Applications Tab in iTunes. If I right click and delete one of the icons it always reappears when I shut down and restart i

  • Converting Movies PC and Mac problem

    Any Ideas? I have two macbook pros and a central Windoz machine. All run the newest version of iTunes. I've converted all my movies using the mac with handbrake. Everything works perfectly with both macbooks, streams to iTv perfectly. But when I try