Remove the single quotes from '?' there is no need for them.
Dave
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Dr. Evil
Sent: October 20, 2001 7:14 PM
To: [EMAIL PROTECTED]
Subject: [JDBC] Does PG's JDBC support prepared statements at all?
There
On Sun, 21 Oct 2001 11:37:29 +0900, you wrote:
So I guess what is happening is that the preparedstatement parser
ignores quoted question marks
I hope not. I hope it sets the field to a literal '?' :-)
Regards,
René Pijlman [EMAIL PROTECTED]
---(end of
On 20 Oct 2001 22:34:05 -, you wrote:
PreparedStatement st = db.prepareStatement(UPDATE foo SET ? = '?' +
WHERE number = ?);
Whenever I use this I get a Parameter index out of range error.
I am assuming that what this means is that I can't use a ? as a column
name, but it
On 20 Oct 2001 23:14:22 -, you 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.
I suggest you read some basic JDBC documentation. This is really
not PostgreSQL specific. Checkout
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 21-Oct-2001 Peter Eisentraut wrote:
Per-Olof Norén writes:
The Ant build system is making its way to be a de facto standard for
building java applications as it is built for the purpose.
Make as been the standard for building any
Per-Olof Norén wrote:
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
* Peter Eisentraut [EMAIL PROTECTED] wrote:
|
| Per-Olof Norén writes:
|
| The Ant build system is making its way to be a de facto standard for building
|java applications as
| it is built for the purpose.
|
| Make as been the standard for building any application for about 30 years.
|
On Sat, Oct 20, 2001 at 03:54:12PM +0200, Per-Olof Norén wrote:
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 :-)
[ points for using Ant ]
I would describe current JDBC build
If we can include the ANT libraries in our CVS then my
objection to ANT (requiring users to trackdown and download ANT) goes
away, and I would then suggest we continue to use ANT for the other
reasons you mention.
Does anyone know if we could include ANT into our CVS and redistribute
it in
Gunnar =?iso-8859-1?q?R=F8nning?= [EMAIL PROTECTED] writes:
But anyway this off topic, what need to have is a build process that works
nicely and I think including the ant binaries(around 500k) would be the
best solution here.
500k of binaries? You just lost the argument. That's not an
Here is updated patch:
* fixed couple of typos.
* installdirs and uninstall targets
* converted contrib/retep to make too, now no parts
of PostgreSQL source _require_ Ant.
* made the JUnit tests work too
--
marko
Index: configure.in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 22-Oct-2001 Bruce Momjian wrote:
A more important point is that we are not a java-only codebase. If we
were, I could see a stronger argument for Ant. As it is now, we have to
weigh using a Java-standard Ant vs. a PostgreSQL/C-standard
On Sun, Oct 21, 2001 at 02:06:21PM +0200, Rene Pijlman wrote:
On Sun, 21 Oct 2001 11:37:29 +0900, you wrote:
So I guess what is happening is that the preparedstatement parser
ignores quoted question marks
I hope not. I hope it sets the field to a literal '?' :-)
I meant ignores them in
On Sat, Oct 20, 2001 at 04:15:56AM +0200, Gunnar Rønning wrote:
* Marko Kreen [EMAIL PROTECTED] wrote:
|
| * driver type is researched in configure, which is the
| right place for it.
How do distributors that need to build all driver types proceed ?
Compile for each platform in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 20-Oct-2001 Gunnar Rønning wrote:
| * Ant doesn't provide an exit status; you have to watch the build to see
| if it works. This is unacceptable.
Hmm. Anybody with a solution here ?
Actuall, it does.
Example:
[wolpert@wolpert configTest]$
Per-Olof Norén writes:
The Ant build system is making its way to be a de facto standard for building java
applications as
it is built for the purpose.
Make as been the standard for building any application for about 30 years.
GNU-style configure has been the standard for configuration
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 20-Oct-2001 Peter Eisentraut wrote:
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
* Tom Lane [EMAIL PROTECTED] wrote:
|
| Gunnar =?iso-8859-1?q?R=F8nning?= [EMAIL PROTECTED] writes:
| But anyway this off topic, what need to have is a build process that works
| nicely and I think including the ant binaries(around 500k) would be the
| best solution here.
|
| 500k of
18 matches
Mail list logo