Postgres uses ? as an operator; may its JDBC driver allow escaping?

Douglas Surber douglas.surber at oracle.com
Mon Feb 11 13:54:00 PST 2013


At 01:24 PM 2/11/2013, Lance Andersen - Oracle wrote:
>Better yet, have Postgres petition the Ansi Standard committee to 
>also support '?' as an operator :-)

That would be very bad. It would require *all* JDBC implementations 
do sufficient parsing to distinguish '?' parameters from '?' 
operators. I know I don't want to try to parse

   select name from emp where ? ? ?

Douglas



More information about the jdbc-spec-discuss mailing list