pg.ddx.io pgsql-jdbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Reg : Exception in Postgresql with Java 2+ messages / 2 participants [nested] [flat]
* Reg : Exception in Postgresql with Java @ 2005-11-23 08:08 smitha <smitha_alice_c@yahoo.com> 0 siblings, 1 reply; 2+ messages in thread From: smitha @ 2005-11-23 08:08 UTC (permalink / raw) To: pgsql-jdbc 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 --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Reg : Exception in Postgresql with Java @ 2005-11-23 09:16 Achilleus Mantzios <achill@matrix.gatewaynet.com> parent: smitha <smitha_alice_c@yahoo.com> 0 siblings, 0 replies; 2+ messages in thread From: Achilleus Mantzios @ 2005-11-23 09:16 UTC (permalink / raw) To: smitha <smitha_alice_c@yahoo.com>; +Cc: 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. -- -Achilleus ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-11-23 09:16 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2005-11-23 08:08 Reg : Exception in Postgresql with Java smitha <smitha_alice_c@yahoo.com> 2005-11-23 09:16 ` Achilleus Mantzios <achill@matrix.gatewaynet.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox