Re: [JDBC] [PATCHES] Ant configuration

2001-10-20 Thread Gunnar Rønning
* "Dave Cramer" <[EMAIL PROTECTED]> wrote: | | | There seems to be enough interested parties to support both build tools. | For the folks that want a Makefile, they can support it. If someone | wants to support the build.xml file, then we should encourage it. I | suspect that one of them will bec

Re: [JDBC] Does PG's JDBC support prepared statements at all?

2001-10-20 Thread Thomas O'Dowd
On Sat, Oct 20, 2001 at 11:14:22PM -, Dr. Evil wrote: > > There is a bunch of documentation for prepared statements in PG's > JDBC, it seems that the only thing prepared statements do is throw > exceptions. > > Here's some code I'm trying: > > String newvalue = "This is a ne

[JDBC] PreparedStatement parameters question

2001-10-20 Thread Dr. Evil
I have a table like this: CREATE TABLE foo { number INT, name VARCHAR(100), email VARCHAR(100)); and I am trying to do this with a prepared statement: PreparedStatement st = db.prepareStatement("UPDATE foo SET ? = '?' " + "WHERE number = ?"); Whenever I use this I get a "Par

[JDBC] Does PG's JDBC support prepared statements at all?

2001-10-20 Thread Dr. Evil
There is a bunch of documentation for prepared statements in PG's JDBC, it seems that the only thing prepared statements do is throw exceptions. Here's some code I'm trying: String newvalue = "This is a new value"; int accountnumber = 54; String q

Re: [JDBC] [PATCHES] Ant configuration

2001-10-20 Thread Dave Cramer
Dave Cramer writes: > The one issue I have with a non ant based build system is that it > makes it difficult to build the driver on a windows machine. That is a valid concern that we're going to have to think about before we move to another method. > What problems does ant present? * Ant ne

[JDBC] Ant installation (and other) issues!

2001-10-20 Thread Per-Olof Norén
Hi all, I have been listening to the discussions about Ant and the build system. I think that the discussion is missing a point, which I will try to make here :-)   1. Standard The Ant build system is making its way to be a "de facto" standard for building java applications as it is built for

Re: FW: Re: [JDBC] [PATCHES] Ant configuration

2001-10-20 Thread Gunnar Rønning
* Peter Eisentraut <[EMAIL PROTECTED]> wrote: | | > compile the JDBC driver via ant if Java and ant are installed. (Or, rather, I | > should be able to) | | You can also install GNU make on Windows. This is how we used to build or apps on Windows before Ant, but we portability issues with respe

Re: [JDBC] [PATCHES] Ant configuration

2001-10-20 Thread Gunnar Rønning
* Peter Eisentraut <[EMAIL PROTECTED]> wrote: | | * Ant needs to be installed. Of course this is not that much of a | problem because you can simply install it. However, in automated build | environments this might not be so easy, so people are just going to opt to | leave out the JDBC driver.

Re: FW: Re: [JDBC] [PATCHES] Ant configuration

2001-10-20 Thread Peter Eisentraut
Ned Wolpert writes: > 3) Java is system independant, and the JDBC driver is a client piece. I should > be able to compile the JDBC driver outside of PostgreSQL server if I wanted to, > right? Example, I can't compile PostgreSQL on windozes 95. But I could > compile the JDBC driver via ant if J

Re: [JDBC] Whatever ... JDBC build patch

2001-10-20 Thread Peter Eisentraut
Gunnar Rønning writes: > How do distributors that need to build all driver types proceed ? I haven't seen one yet, but theoretically they should configure several different build trees from one source tree. Of course, this doesn't work with Ant, but it's trivial with GNU make. -- Peter Eisent

Re: [JDBC] [PATCHES] Ant configuration

2001-10-20 Thread Peter Eisentraut
Dave Cramer writes: > The one issue I have with a non ant based build system is that it makes > it difficult to build the driver on a windows machine. That is a valid concern that we're going to have to think about before we move to another method. > What problems does ant present? * Ant needs