pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Joseph Krogh <andreas@visena.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Adam Rauch <adam@labkey.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Simple queries with JDBC escaped scalar functions result in exceptions
Date: Sun, 28 Aug 2016 15:43:04 +0200 (CEST)
Message-ID: <VisenaEmail.7.6d85467e04092837.156d161b73e@tc7-visena> (raw)
In-Reply-To: <CADK3HHLFtYfqK0=Yw7OQAe60bViqz=JbBwOvsGiFhB6E5KFfeg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

På søndag 28. august 2016 kl. 03:18:42, skrev Dave Cramer <pg@fastcrypt.com 
<mailto:pg@fastcrypt.com>>:
Looks like the JDBC mini parser is having troubles with that. Why do you have 
comments in your sql ? 
 
I think the universial answer here is "Because you can". Many use comments in 
SQL as a way to both understand what's going on better (ie. when the SQL is 
generated by code) and to make logging easier. There's no reason why a driver 
should not cope with valid comments.
 
-- Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
andreas@visena.com <mailto:andreas@visena.com>
www.visena.com <https://www.visena.com;
 <https://www.visena.com;


 

view thread (7+ messages)  latest in thread

Message-ID: <VisenaEmail.7.6d85467e04092837.156d161b73e@tc7-visena>
Permalink:  ../VisenaEmail.7.6d85467e04092837.156d161b73e@tc7-visena/
Also on:    postgresql.org/message-id/VisenaEmail.7.6d85467e04092837.156d161b73e@tc7-visena

 · 

reply

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: andreas@visena.com, pg@fastcrypt.com, adam@labkey.com
  Subject: Re: Simple queries with JDBC escaped scalar functions result in exceptions
  In-Reply-To: <VisenaEmail.7.6d85467e04092837.156d161b73e@tc7-visena>
  References: <CADK3HHLFtYfqK0=Yw7OQAe60bViqz=JbBwOvsGiFhB6E5KFfeg@mail.gmail.com> <VisenaEmail.7.6d85467e04092837.156d161b73e@tc7-visena>

* 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