From: Brady Mathis <bmathis@r-hsoftware.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Opening view that uses a function - empty column
Date: Fri, 27 Jul 2012 14:21:24 -0700 (PDT)
Message-ID: <d3ee6832-c364-45a9-9d20-d7dd003a53bd@googlegroups.com> (raw)
In-Reply-To: <CADK3HHJ76-CD=bSdp6Qhd7SYX+rda-m=+BX9ri8GwQWF-XnffA@mail.gmail.com>
References: <aec845f8-15f2-41c6-b1d3-04de5b6889ea@googlegroups.com>
<CADK3HHJ76-CD=bSdp6Qhd7SYX+rda-m=+BX9ri8GwQWF-XnffA@mail.gmail.com>
I am actually using Jasper reports to access the view. I created the data source and specified the following:
Driver: org.postgresql.Driver
URL: jdbc:postgresql://localhost:5432/postgres
UID and PW
I made sure to update to postgresql-9.1-902.jdbc4.jar (PG version is 9.1.2)
Then I defined a query simply as:
select * from encounter;
I also tried the same query using a SquirrelSQL client (just to eliminate a problem in Jasper) and got the same result. The column filled by the function is empty.
If I select * from encounter directly in postgres, the column is filled.
My apologies if I haven't included the implementation details that you need.
Thanks!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: bmathis@r-hsoftware.com
Subject: Re: Opening view that uses a function - empty column
In-Reply-To: <d3ee6832-c364-45a9-9d20-d7dd003a53bd@googlegroups.com>
References: <aec845f8-15f2-41c6-b1d3-04de5b6889ea@googlegroups.com> <CADK3HHJ76-CD=bSdp6Qhd7SYX+rda-m=+BX9ri8GwQWF-XnffA@mail.gmail.com> <d3ee6832-c364-45a9-9d20-d7dd003a53bd@googlegroups.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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