> On 29 Aug 2016, at 20:23, Alexander Farber wrote:
> On Mon, Aug 29, 2016 at 7:50 PM, Merlin Moncure wrote:
> On Sat, Aug 27, 2016 at 5:39 AM, Alexander Farber
> wrote:
> >
> > List last_tiles = (List)
On Mon, Aug 29, 2016 at 7:50 PM, Merlin Moncure wrote:
> On Sat, Aug 27, 2016 at 5:39 AM, Alexander Farber
> wrote:
> >
> > List last_tiles = (List) JSON.parse(rs.getString("last_
> tiles"));
> >
> > has not work for me even though the
On Sat, Aug 27, 2016 at 5:39 AM, Alexander Farber
wrote:
> Hello,
>
> what do you use to retrieve a jsonb column using JDBC?
>
> I have tried
>
> Object last_tiles = rs.getObject("last_tiles");
>
> and the resulting Object seems to be a String.
>
> Then I have
Unfortunately JSONB is output in text. So this is the way it is done.
Dave Cramer
da...@postgresintl.com
www.postgresintl.com
On 27 August 2016 at 06:39, Alexander Farber
wrote:
> Hello,
>
> what do you use to retrieve a jsonb column using JDBC?
>
> I have tried
>
Hello,
what do you use to retrieve a jsonb column using JDBC?
I have tried
Object last_tiles = rs.getObject("last_tiles");
and the resulting Object seems to be a String.
Then I have called (using Jetty JSON class here):
Object last_tiles =