Re: [GENERAL] [JDBC] Problem with boolean type

2004-10-07 Thread Kris Jurka
On Thu, 7 Oct 2004, Johann Robette wrote: I use EJB to create a record in a table containing a Boolean field answered. The EJB method expects a Boolean object so I pass new Boolean(false) in order to create it as false. But I get the following error : java.sql.SQLException: ERROR:

Re: [GENERAL] JDBC problem

2004-05-11 Thread Carl E. McMillin
] [mailto:[EMAIL PROTECTED] On Behalf Of Reynir Þór Hübner Sent: Tuesday, May 11, 2004 3:37 AM To: [EMAIL PROTECTED] Subject: [GENERAL] JDBC problem I'm running an engine with 15 databases, with fair amount of load. Every 4-5 days I'm getting error like this from the java side and the application stops

[GENERAL] JDBC problem 7.1

2001-04-26 Thread Loïc Courtois
Hello, I have the following java source code: This one work with pg 7.0.3 , but not with 7.1, with the following error message: java.lang.NullPointerException at org.postgresql.jdbc2.ResultSet.next(ResultSet.java:116) at ouah.stats.Stats.go(Stats.java:242) at

[GENERAL] JDBC problem with Postgres 7.0.3

2001-02-23 Thread Santosh Rau
Hello, I am using the postgres driver for my Java code (JDK 1.2.2) which came with the Postgres 7.0.3 tar file. I am trying get the name of a column which is essentially the primary key in this table. Unfortunately, the result set returned does not have any records(as shown below). This code

[GENERAL] JDBC problem on Postgresql 7 beta 5

2000-05-02 Thread Jack Zhu
Hi, PostgreSQL 7 Beta 5 on Red hat Linux 6.0 JDBC 6.5-1.1 driver, Java 1.1.7B, download JDBC driver from http://www.retep.org.uk/postgres/ We have a a table which has a column col_a with 'timestamp' data type. When insert time value to this column, we use format which is 'MM/DD/ HH24:MI:SS'

Re: [GENERAL] jdbc problem

1999-10-16 Thread Jim Richards
I am using postgresql under linux. Now that I need to build up the jdbc driver for postgresql, when I make under the directory /src/interfaces/jdbc.. I get an error stating '(u' unexpected syntax... The version returned by the make is 1.0b4. The makeVersion.java file returns jdbc0 as the

[GENERAL] jdbc problem

1999-10-15 Thread soundar rajan
Hi, I am using postgresql under linux. Now that I need to build up the jdbc driver for postgresql, when I make under the directory /src/interfaces/jdbc.. I get an error stating '(u' unexpected syntax... The version returned by the make is 1.0b4. The makeVersion.java file returns jdbc0 as the