HELP!!! Problems in using PostgreSQL in jdk1.4.2

Hi,
Can anybody help me with my problem. i am using jdk1.4.2 and have a database connection with PostgreSQL Driver. I have connection to the Driver using the following code.
Class.forName("org.postgresql.Driver");
Connection conn = DriverManager.getConnection("jdbc:postgresql:SchoolA","janeve.george","l0ngl1veme");
Statement stmt = conn.createStatement();
But an exception is thrown when the code in bold is executed. The exception is as follows:
Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/Savepoint
at org.postgresql.Driver.makeConnection(Driver.java:382)
at org.postgresql.Driver.connect(Driver.java:260)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at Sample.main(Sample.java:7)
But when i go to java profile i get the following:
D:\Personals\Java Programs>javap java.sql.Savepoint
Compiled from null
interface java.sql.Savepoint{
public abstract int getSavepointId();
throws java/sql/SQLException
public abstract java.lang.String getSavepointName();
throws java/sql/SQLException
I have downloaded Driver for PostgreSQL for jdk1.4 but still there is this problem.
There is no problem when i use the jdbc:odbc Bridge for any other Database. Please Solve this problem of mine.
Regards,
Janeve

http://forum.java.sun.com/thread.jspa?threadID=735750&messageID=4227871

Similar Messages

  • I am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    i am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    The warranty for the iPhone is not and has never been International.
    Warranty and support are ONLY valid in the country of origin.  The only exception is the EU where the entire EU is treated as one country.
    If the device will be used in India, buy it in India.
    An unlocked iPhone will work on any supported GSM carrier world wide.  The LTE portion of a US purchased, unlocked iPhone is unlikely to work outside North America as it does not support the appropriate bands used in other countries.

  • TS2755 Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help of how to set up messages on each

    Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks

    search google for "iphone remove picture from contact"

  • My iphone 4 will no longer connect to my Itunes since 7.1.1 update itunes has latest update as well followed help which involved using mobile device properties no good re installed itunes still same problem iphone is showing up on pc as connected

    my iphone 4 will no longer connect to my Itunes since 7.1.1 update, itunes has latest update as well followed help which involved using mobile device properties no good re installed itunes still same problem iphone is showing up on pc as connected but itunes unable to see it
    any Ideas cheers

    Try holding the power and home button untill the apple symbol appears and let it reboot, if that does not work Try a DFU restore https://discussions.apple.com/thread/5269891

  • Can anyone help me?Time Machine couldn't complete the backup to...  An error occurred while copying files. The problem may be temporary. If the problem persists, use Disk Utility to repair your backup disk.  What is the problem?  I've made no changes.

    I recently starting receiving the error message "Time Machine couldn't complete the backup to... An erro occurred while copying files.  The problem may be temporary.  If the problem persists, use Disk Utility to repair your backup disk.  I have had no problems backing up my MacBook Pro 2011 to my Western Digital My Book Live through a Linksys EA4500 router until recently.  I've made no major changes.  I've ran a diagnosis on my back up drive with no problems.  The Time Machine back up starts, but about after about 5 to 10 minutes I get the error message.  I can see the shared drive in Finder.  The light on the drive blinks while it starts the back up.  I can see the shared folders on the networked drive.  The backup process starts but for some reason it just stops.  Can anyone help?

    You can't repair a network volume in Disk Utility.
    Backing up to a third-party NAS with Time Machine is risky, and unacceptably risky if it's your only backup. I know this isn't the answer you want, and I also know that the manufacturer says the device will work with Time Machine, and that it usually seems to work. Except when you try to restore, and find that you can't.
    If you want network backup with Time Machine, use as the destination either an Apple Time Capsule or an external hard drive connected to another Mac or to an 802.11ac AirPort base station. Only the 802.11ac base stations support Time Machine, not any older model.
    If you're determined to keep using the NAS for backup, your only recourse for any problems that result is to the manufacturer (which will blame Apple.)

  • I encountered a problem when using Flash Player V9.0.115, can somebody help me?

    Hello all, can somebody help me?
    I have encountered a problem when using Flash Player
    V9.0.115. Your help would be greatly appreciated.
    The problem described as follows:
    1. The flash file with sound works well before uploaded to
    website. The audio lost when uploaded to the website(There is no
    problem with the flash file size). I have uploaded the flash file
    to website for you to test. Please go to
    http://www.sameshow.com/democreator/create
    a new site.swf and kindly check with it.
    2. When we open the flash movie in IE with Flash player
    V9.0.47 and previous versions (Flash9d.ocx), the flash movie with
    sound works well.
    3. When we upgrade the flash player to the latest version
    V9.0.115 (Flash9e.ocx), the video works well, but the sound just
    can play several seconds and then stop.
    4. On Flash Player ocx V9.0.115. If we publish the flash
    movie on web with 24fps, the sound just can work several seconds
    and then stop, the problem is the same if we use the
    TShockWaveFlash control to play the flash movie.
    5. On Flash Player ocx V9.0.115. If we publish the flash
    movie with 12fps, the sound works well but the quality is really
    very poor. It seems that the sound plays shorter with more frames
    per second. But the flash file works well with the Flash Player
    V9.0.47 and previous versions (Flash9d.ocx).
    Can somebody help me to figure it out? Thanks in advance!
    Regards,
    Sabrina
    [email protected]

    Hello Darren, I really appreciate your response. My mail is
    [email protected] I have uploaded the flash file to our
    ftp,
    http://www.sameshow.com/democreator/create
    a new site.swf. And also I compressed the original file to a
    zip file and uploaded to our ftp at
    http://download.sameshow.com/aff/create.zip,
    please kindly check! When we playing this flash file on FlashPlayer
    V9.0.47 and previous, the audio works well. But the audio just can
    play several seconds and then stop when I playing it on FlashPlayer
    V9.0.115. The garbled audio makes us very upset. Your help would be
    great appreciated!
    Sabrina Fu

  • HELP :  BAPI_BUS1077_CREATE (  facing problem in using this Bapi )

    Hi
    I am facing a problem in using this Bapi.
    I already have a Data record for the Property Say FAT under a property tree say XXYYZZ. Suppose I want to create a new value for one of its Characteristic of the existing record, I am able to do that. For example. Suppose FAT has a Characteristic called Min = 1  , Max = ' ' , I am able to create a value for this  say Max = 5..   at the same time i am able to change the value of Min = 2 if I use the Bapi_Bus1077_Change..
    But my problem comes when I am trying to create a new records for the FAT.  with Min = 6  and Max = 10.. ( I am creating a new instance ).
    I see in the documentation that something has to be done with the Primarykey and Foreighkey.  But when I look into my import parameter table, all have the 000000000000000 in my primary key and in foreignkey.. 
    Can someone help me out?
    Thanks.
    David
    Message was edited by:
            Kirubakaran David

    As you want to create a new instant, you need to pass PROP_VAL and PROP_DATA
    First call GetDetails and then use it as follows.
    prop_val-function = '009'. "NEW
    prop_val-primarykey = '000000000000001'. "Temporary key that you need to assign
    prop_val-flgprimkey = 'X'. "As the key does not exist
    prop_val-foreignkey = prop_header-record_no. "From GetDetail
    prop_val-flgfrgnkey = ' '. "As key exists
    APPEND prop_val.
    prop_data-function = '009'. "NEW
    prop_data-primarykey = ''000000000000002'. "Temporary key that you need to assign
    prop_data-flgprimkey = 'X'. "As the key does not exist
    prop_data-foreignkey = prop_val-primarykey. "This is the value assigned above
    prop_data-flgfrgnkey = 'X'. "As the key does not exist
    prop_data-name_char = 'MIN_CHAR'.
    prop_data-char_value = '6'.
    APPEND prop_data.
    prop_data-function = '009'. "NEW
    prop_data-primarykey = ''000000000000003'. "Temporary key that you need to assign
    prop_data-flgprimkey = 'X'. "As the key does not exist
    prop_data-foreignkey = prop_val-primarykey. "This is the value assigned above
    prop_data-flgfrgnkey = 'X'. "As the key does not exist
    prop_data-name_char = 'MAX_CHAR'.
    prop_data-char_value = '10'.
    APPEND prop_data.
    CALL FUNCTION 'BAPI_BUS1077_CREATE'
    Note how primary key from PROP_VAL (000000000000001) is used as foreign key for PROP_DATA (000000000000002 and 000000000000003)

  • Problem in using objbase.h ,help!!!

    Hi
    I have some problems in using the header file <objbase.h>
    when I want to use the functions defined in objbase.h,such as " WINOLEAPI  CoInitialize(IN LPVOID pvReserved)",
    labwindows cvi will give error information:
      Undefined symbol '_CoInitialize@4' referenced in "test.c".
    who can tell me why??
    thanks a lot ~~~~~~~~~

    Hi phoenixmy,
    You need to include the ole32.lib import library in your project. You can find this library in the <CVI>\sdk\lib directory if you have the Windows SDK installed for CVI. 
    I would like to add that you should really be calling CA_InitActiveXThreadStyleForCurrentThread instead
    of CoInitialize. CVI provides routines for using ActiveX, and this
    function initializes COM (by calling CoInitialize) and takes care of
    any other initialization CVI might need (ActiveX callbacks in multiple
    threads etc.)
    Best Regards,
    Jonathan N.
    National Instruments

  • Problem with using JDom to parse Schema , help

    hi there
    I try to use samples downloaded from following URL to parse a schema stored on my hard drive
    http://www.javaworld.com/javaworld/jw-11-2000/jw-1110-validation3_p.html
    the parseschema() method used in this sample uses SAX to read in the supplied schema URL and build a JDOM Document object. but I change it to read a string of "C:\\EBT Express\\shoes.xsd" and build a JDOM Document Object. but I got IOException saying that the file is not found. anyone out there familiar with JDOM, please help. can I use a string to replace URL?
    thank you.

    hi there
    thank you for your reply. I am just curious about how you run that sample code. when you supply a data to validate, how do you do it?

  • I can use my appleID without any problems for using to download new apps in the app-store or Itunes - Problem: I can´t use my ID at facetime and Imessage - I´d like to add an EMail account on top to my mobile number. My password will not be accepted!!!???

    I can use my appleID without any problems for using to download new apps in the app-store or Itunes - Problem: I can´t use my ID at facetime and Imessage -
    I´d like to add an EMail account on top to my mobile number to use more this services. My password will not be accepted!!!??? I try it and i try it and i try ist, throughout the same problem. Whats on? The user help desk said, i´ve to reset and use the WLAN key new as well as possible - no way!

    Contact the App store for Apple ID help. Their support link is on the right of the App store window
    LN

  • Problems in using database link

    Hi all,
    I have problems in using the following created database link:
    Name: fzanalyze
    User: fzanalyze
    PWD: xxx
    Host: fz.domain.com
    I get the following error message, if I try to start this select:
    select * from tab@fzanalyze;
    FEHLER in Zeile 1:
    ORA-12154: TNS:Couldn't resolve service name
    The problem, the TNS is correct, because I copied the hoststring from the tnsnames.ora. Also I can connect to the database by using the given hostname as follows:
    connect fzanalyze/[email protected]
    connected
    What could be the problem, the I get the tns-Error, although I can connect normal to the database??
    Thanks for helping
    Dana

    Dana,
    Unlike Kamal, I don't use SQLNET anymore (isn't it obsolete from 8i+?), so I don't have any sqlnet.ora on my client or server.
    I'm not really a sysop, so no clever thoughts behind the following ideas, I just use these for development purposes at home:
    IP range at home = 192.168.x.x segment (another router server connects to the internet)
    Oracle server computer name = dbserver.seinpost.nl (local address = 192.168.1.110)
    instance entry in $TNS_ADMIN/listener.ora @ server:
        (SID_DESC =
          (GLOBAL_DBNAME = inst04.seinpost.nl)
          (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
          (SID_NAME = inst04)
        )instance entry in $TNS_ADMIN/tnsnames.ora @ server:
    INST04.SEINPOST.NL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = dbserver.seinpost.nl)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = inst04.seinpost.nl)
      )instance entry in tnsnames.ora @ client:
    INST04 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS =
            (PROTOCOL = TCP)
              (HOST = 192.168.1.110)
                (PORT = 1521)
        (CONNECT_DATA =
          (SERVICE_NAME = inst04.seinpost.nl)
      )So again, no sqlnet.ora and as you can see only on my client I use local IP addresses to prevent my client for searching the internet for the non-existing dbserver.seinpost.nl address
    Hope this helps,
    Michiel

  • Help needed in using the DocCheck utility

    Hi
    Can somebody help me to use the DocCheck utility.I need to check that all the java files have the required javadoc tags and they are correct.
    I have downloaded the zip file and I have been giving the following commands
    c:\javadoc -doclet com.sun.tools.doclets.doccheck.DocCheck -docletpath c:\svk\jdk1.2.2\bin\doccheck1.2b1\lib\doccheck.jar -sourcepath<full path with the file name>
    But I get the following error message : No package or class specified.
    I also tried giving the following command:
    D:\SegaSource\sega\src\com\sega\account>javadoc -doclet com.sun.tools.doclets.do
    ccheck.DocCheck -docletpath d:\jdk1.3\doccheck1.2b1\lib\doccheck.jar User.java
    But I get the following message:
    Loading source file User.java...
    Constructing Javadoc information...
    javadoc: warning - Import not found: com.sega.account.address.Address - ignoring
    javadoc: warning - Import not found: com.sega.account.icon.Icon - ignoring!
    javadoc: warning - Import not found: com.sega.common.DateUtil - ignoring!
    javadoc: warning - Import not found: atg.nucleus.GenericService - ignoring!
    javadoc: warning - Cannot find class com.sega.account.icon.Icon
    javadoc: warning - Cannot find class com.sega.account.address.Address
    javadoc: warning - Cannot find class com.sega.account.MasterManager
    7 warnings
    please help
    Thanks
    SVK

    I have never ran the DocCheck from the command prompt, so I really don't know how to do it, but I do run it succesfully using ant (build tool from apache - jakarta, if you use tomcat you already have it installed).
    So.. if you do use ant.. this will help:
    <target name="doccheck" depends="prepare">
         <javadoc
              packagenames="${packages}"
                    destdir="${doccheck.home}"
              doclet="com.sun.tools.doclets.doccheck.DocCheck"
              docletpath="${doccheck.path}" >
              <classpath refid="project.classpath"/>
              <sourcepath refid="project.classpath"/>
         </javadoc>
    </target>If you don't use it.. I guess I was of no help, sorry.
    Ylan

  • The problem in using object = 0090 to create sales order in LSMW?

    who can tell where is the problem "No logical path has been specified" when I doing "specify files"?
    tks in advance.

    Hi
    There can be two  ways -
    1. Check if the file is present and with correct format.
    2.The problem might be that when we execute "specify files",
    sometimes, by default we get file name ..but not the entire path...
    Try to browse thrugh the file entire path ...and then press enter .
    Hope it helps
    Reward if useful.
    Regards
    Megha Sharma

  • Problem when using About Operator in Contains Query

    Hi,
    I'm new to Oracle and this forums too. I have a problem when using about operator in contains query.
    I create a table with some records and then create a context index on 'name' column.
    CREATE TABLE my_items (
      id           NUMBER(10)      NOT NULL,
      name         VARCHAR2(200)   NOT NULL,
      description  VARCHAR2(4000)  NOT NULL,
      price        NUMBER(7,2)     NOT NULL
    ALTER TABLE my_items ADD (
      CONSTRAINT my_items_pk PRIMARY KEY (id)
    CREATE SEQUENCE my_items_seq;
    INSERT INTO my_items VALUES(my_items_seq.nextval, 'Car', 'Car description', 1);
    INSERT INTO my_items VALUES(my_items_seq.nextval, 'Train', 'Train description', 2);
    INSERT INTO my_items VALUES(my_items_seq.nextval, 'Japan', 'Japan description', 3);
    INSERT INTO my_items VALUES(my_items_seq.nextval, 'China', 'China description', 4);
    COMMIT;
    EXEC ctx_ddl.create_preference('english_lexer','basic_lexer');
    EXEC ctx_ddl.set_attribute('english_lexer','index_themes','yes');
    EXEC ctx_ddl.set_attribute('english_lexer','theme_language','english');
    CREATE INDEX my_items_name_idx ON my_items(name) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('lexer english_lexer');
    EXEC ctx_ddl.sync_index('my_items_name_idx');Then I perform contains query to retrieve record :
    SELECT count(*) FROM my_items WHERE contains(name, 'Japan', 1) > 0;
    COUNT(*)
          1
    SELECT count(*) FROM my_items WHERE contains(name, 'about(Japan)', 1) > 0;
    COUNT(*)
          1But the problem is when I using ABOUT operator like in Oracle's English Knowledge Base Category Hierarchy it return 0
    SELECT count(*) FROM my_items WHERE contains(name, 'about(Asia)', 1) > 0;
    COUNT(*)
          0
    SELECT count(*) FROM my_items WHERE contains(name, 'about(transportation)', 1) > 0;
    COUNT(*)
          0I can't figure out what 's wrong in my query or in my index.
    Any help will be appreciated.
    Thanks,
    Hieu Nguyen
    Edited by: user2944391 on Jul 10, 2009 3:25 AM

    Hello (and welcome),
    You'd be best asking this question in the Oracle Text forum, here:
    Text
    And by the way, it will help others to analyse if you put {noformat}{noformat} (lowercase code in curly brackets) before and after your code snippets.
    Good luck!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I am having problem while using ms word with anjal( OS X Lion 10.7.5 (11G63))

    i am having problem while using ms word with anjal  is not working properly but its working in facebook and other areas.i need and  its very important to using tamil fonts for my job.can anyone help me out from this problem.
    thanking you
    by
    moses

    Those who are knowledgable in this area (myself not among them) say that Word's support for Asian languages is faulty. The best word processor for that use is "Mellel."

Maybe you are looking for

  • Delete Remain Open Quantity in PO Item

    Hi SAP community, My Order quantity in PO item is 100, and User have GR 90. Left with 10 units to be good receipt. Now user what to cancel the 10 unit, so that they can close this PO how can the user cancel the 10 unit remain open in po ?

  • Mac Pro 1,1 Kernel Panic on Boot

    First, the specs: Mac Pro 1,1 Dual Core Intel Xeon 2.66 (x2) 6GB RAM NVIDIA GeForce 7300 GT Snow Leopard 10.6.8 So, I boot up one day and get the usual Apple logo and spinning wheel. It then flashes a blue screen, then goes to the light grey screen w

  • ITunes 11 not sorting multi-disc audiobooks by disc number

    I just updated to iTunes 11, and for some reason, my multi-disc audiobooks are not being ordered by disc number in the Books view. Instead, it goes track 1 of disc 1, track 1 of disc 2, etc. The tracks have the disc numbers in their metadata, so why

  • Have connection, but no internet

    I have an iBook (OSX 10.4.3, airport (Great signal) and installed an airport update several days ago and since then my internet connection has been very sketchy. I connect using Airport and several other people are successfully using the signal, my m

  • Bank account number & Bank number structure for Chile

    Hi, Does anybody know how the Bank number & Bank account number structure is? I do need to create a module for banks field (because it is not delivered in standard SAP). Does anybody do it before? Thanks a lot