[JDBC] Return value of 'statement.executeUpdate();'

2001-04-17 Thread Neil Kidd
Hi, I am developing a Servlet based app where I am permitting users to delete their own accounts. (PostgreSQL 7.03 and jdbc7.0-1.2.jar) I am using the following function - if I understand correctly the call "statement.executeUpdate();" should return an int that indicates the number of rows affe

[JDBC] JDBC setObject

2001-04-17 Thread Dave Cramer
Hi all, I have reported a problem with the PreparedStatement.setObject method on the general list, and using the bug database. I haven't received any replies yet. I am prepared to fix the problem myself, how do I go about this? Regards, Dave Cramer ---(end of broadcas

Re: [JDBC] Errors Trying To Use JDBC

2001-04-17 Thread Peter B. West
Corey I don't use tcsh (thank Heaven), but I think that `path' is a special variable in tcsh, which also maintains the `PATH' variable. `path' is a space-separated list, whereas `PATH' is the normal colon-separated list. tcsh maintains the synchronisation between the two. None of this magic co

[JDBC] Failed Connection?

2001-04-17 Thread Steven Smith
I am trying to access a PostgreSQL 7.0 database through JDBC. I get an 'Error connecting to database' message everytime I try to connect. I have setup the network and database to handle JDBC (atleast I think it is) but still the problem persists. I have tried to run the same program from the local