Is this a bug or is this per the spec? This was from the JBoss list. ------ Forwarded Message From: "Jim Downing" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Fri, 11 May 2001 10:47:25 +0100 To: <[EMAIL PROTECTED]> Subject: Re: [JBoss-user] Postgres woes: solution I found the solution to my problem. It raises a minor database portability issue. The root of the problem turned out to be a NullPointerException that the PGSQL driver threw in ejbStore. It turns out that although Oracle is OK with: PreparedStatement.setObject(x, null, Types.TYPE); PostgreSQL isn't. PreparedStatement.setNull(x, Types.TYPE); seems to work in both. Hope this is useful to someone, jim ------ End of Forwarded Message ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl