Skip site navigation (1) Skip section navigation (2)

Re: Reg : Exception in Postgresql with Java

From: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: smitha <smitha_alice_c(at)yahoo(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Reg : Exception in Postgresql with Java
Date: 2005-11-23 09:16:37
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
O smitha έγραψε στις Nov 23, 2005 :

>  I use the Databse Postgresql with Java Platform. My Program( Java Program) get executed by creating a postgres user.  The query get executed and it is affected in the Database.  But my Java Program throws a Exception "No results were returned by the query ".  Why this exception is coming? Should I load some other Driver for this?. Please tell the solution.
>  smitha

In such cases it is more convinient to present your code also.
However it seems that you try to executeQuery() whereas you should
executeUpdate() or execute(SQL).

> ---------------------------------
>  Yahoo! FareChase - Search multiple travel sites in one click.  


In response to

pgsql-jdbc by date

Next:From: Rob KirkbrideDate: 2005-11-23 10:08:20
Subject: Switching user within connection.
Previous:From: smithaDate: 2005-11-23 08:27:44
Subject: Reg : Exception ( Postgresql with Java -JDBC)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group