On Mon, 27 Dec 1999, ALPESH KOTHARI wrote:
ok, can you run it again for me, but add the following:
> String crt="create table xyz(sadd int4,tadd int4,pid
> int4,filen text,diff int2)";
> st.executeUpdate(crt);
> ^^^^^^^^^^^^^^^^^^^^^^^^
> //While executing this statement it gives nullpointer
> exception
> }
> catch(IOException e)
> {
> System.out.println("Error "+e);
System.out.printStackTrace();
> }
This should give me the class/line that's throwing the exception.
> The program works fine if I dont prepare the jar file.
How are you preparing the jar file? Are you including all of the
postgresql classes in it, in the same directory structure?
Peter
--
Peter T Mount [EMAIL PROTECTED]
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
Java PDF Generator: http://www.retep.org.uk/pdf
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]