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)...
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>
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
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)(...
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...
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...
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...
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.
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...
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...
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.
Hello Friends,
I have a problem with retreiving data from my oracle database using sql select statement.
here I am using a user form in vb to get the data from a begining date to ending date, my database has different coloumns for Year, month and Day
Here the problem is, the earlier...
Hi HarleyQuinn
Here the problem is, the earlier programmer created the tables such that they take date in year, month and day as separate columns.
when i try to retreive data its checking these columns as separate fields but not as date.
my sql select staterment is
select wölbung_vorn...
Hello Friends,
I have a problem with retreiving data from my oracle database using sql select statement.
here I am using a user form in vb to get the data from a begining date to ending date, my database has different coloumns for Year, month and Day
I am using six variables to get the values...
Hello Everyone,
I have a problem with retreiving data from my oracle database using sql select statement.
here I am using a user form in vb to get the data from a begining date to ending date, my database has different coloumns for Year, month and Day
I am using six variables to get the valus...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.