Re: Simple queries with JDBC escaped scalar functions result in exceptions - Mailing list pgsql-jdbc

From Andreas Joseph Krogh
Subject Re: Simple queries with JDBC escaped scalar functions result in exceptions
Date
Msg-id VisenaEmail.7.6d85467e04092837.156d161b73e@tc7-visena
Whole thread Raw
In response to Re: Simple queries with JDBC escaped scalar functions result in exceptions  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: Simple queries with JDBC escaped scalar functions result in exceptions
Re: Simple queries with JDBC escaped scalar functionsresult in exceptions
List pgsql-jdbc
På søndag 28. august 2016 kl. 03:18:42, skrev Dave Cramer <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
 
Attachment

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Simple queries with JDBC escaped scalar functions resultin exceptions
Next
From: Adam Rauch
Date:
Subject: Re: Simple queries with JDBC escaped scalar functions result in exceptions