Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sudhakarpothu

  1. sudhakarpothu

    Null userid is not supported

    Hi, I get the following error when i run my Java program to connect DB2 V 9 express Edition database on VMware windowsXP. com.ibm.db2.jcc.c.SqlException: [ibm][db2][jcc][t4][10205][11234] Null userid is not supported. at com.ibm.db2.jcc.b.b.E(b.java:1792) at com.ibm.db2.jcc.b.b.d(b.java:1799)...
  2. sudhakarpothu

    Jdom parsing problem

    What I see in the XML document is a root <Sys....... then the next element is <application> Sys version="2" xsi:schemaLocation="----------------.xsd"> <!--Definition of the application structure--> ?| <application>
  3. sudhakarpothu

    Jdom parsing problem

    I am able to do it if i take out the version="2" xsi:schemaLocation="----------------.xsd"> from root element. So the clone() doesn't work with schema? Please write as I am very new to Java programming
  4. sudhakarpothu

    Jdom parsing problem

    THis line of code is working fine doctoWrite.getRootElement().addContent((Element)( doc1.getRootElement().clone())); but when I include .getChild("application") (as below) I have NULL pointer exception doctoWrite.getRootElement().getChild("application").addContent((Element)(...
  5. sudhakarpothu

    Jdom parsing problem

    Hello Friends, I am trying to parse two xml documents (using JDOM) and create a third one which is combination of these two. following is the code I'm using. import java.io.*; import java.util.Iterator; import java.io.IOException; import java.util.List ; import org.jdom.*; import...
  6. sudhakarpothu

    Jar file execution problem

    Hi StefanWagnar, your idea Perhaps a better way would be, to put all jdom-related jars in $JAVA_HOME/jre/lib/ext/. worked out perfectly, thanks a lot.
  7. sudhakarpothu

    Jar file execution problem

    I have a Exception Exception in thread "AWT-EventQueue-0" java.lang.noclassdeffounderror: org/jdom/Document I added jdom.jar in my libraries from before I dont know whats wrong, I am running it from command prompt java -jar project.jar manifest is Manifest-Version: 1.0 Main-Class...
  8. sudhakarpothu

    Jar file execution problem

    I have already tried all those but something seems to be wrong, May be i need to put all my class files in one folder
  9. sudhakarpothu

    Jar file execution problem

    Hello friends, I have a project folder in which i have 4 packages application ui controller model and a folder Datafile containing project related xml and text files my main class is in application package I am creating a jar file of my whole project folder in Eclipse environment, using the...
  10. sudhakarpothu

    A problem with SQL select statement

    Thank you Gmmastros and HarleyQuinn I implimented the code with integer coversion and its working properly, thank you once again for all your advice. Sudhakar Pothu.
  11. sudhakarpothu

    A problem with SQL select statement

    Thanks George, you have a point about getting them as integers, i will try and reply as soon as possible. Sudhakar.
  12. sudhakarpothu

    A problem with SQL select statement

    Thank you very much HarleyQuinn, I guess i got it completely. once again thanks for your help and all of you. Sudhakar.
  13. sudhakarpothu

    A problem with SQL select statement

    Hi, using these it is not retreiving any values strStartConcat = Byear & Right("0" & Bmonth,2) & Right("0" & Bday,2) strEndConcat = Eyear & Right("0" & Emonth,2) & Right("0" & Eday,2) select wölbung_vorn, wölbung_hinten, jahr, monat, tag FROM rsvadm.twm_bmw60 WHERE to_char(jahr ||''|| monat...
  14. sudhakarpothu

    A problem with SQL select statement

    Hi HarleyQuinn, this is the Debud.print of the sql statement, and i guess the 11 in '200511' taking it as 11th month but actually it is 2005-1-1. select wölbung_vorn, wölbung_hinten, year, month, day FROM rsvadm.twm_bmw60 WHERE to_char(year ||''|| month ||''|| day) between '200511' and...
  15. sudhakarpothu

    A problem with SQL select statement

    Hi HarleyQuinn, I tried your code, but when i try to retreive data of 1 and 2 months it is also giving me data of 11 and 12 months, i dont know the reason behind it, i will appreciate if you say something about this. thankyou very much for your cooperation. Sudhakar.

Part and Inventory Search

Back
Top