Re: Simple queries with JDBC escaped scalar functions result in exceptions

From: Andreas Joseph Krogh <andreas(at)visena(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: Adam Rauch <adam(at)labkey(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Simple queries with JDBC escaped scalar functions result in exceptions
Date: 2016-08-28 13:43:04
Message-ID: VisenaEmail.7.6d85467e04092837.156d161b73e@tc7-visena
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

På søndag 28. august 2016 kl. 03:18:42, skrev Dave Cramer <pg(at)fastcrypt(dot)com
<mailto:pg(at)fastcrypt(dot)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(at)visena(dot)com <mailto:andreas(at)visena(dot)com>
www.visena.com <https://www.visena.com>
<https://www.visena.com>

 

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Adam Rauch 2016-08-28 14:20:56 Re: Simple queries with JDBC escaped scalar functions result in exceptions
Previous Message Dave Cramer 2016-08-28 01:18:42 Re: Simple queries with JDBC escaped scalar functions result in exceptions