In libglom, I'm using 
gda_connection_statement_to_sql()
http://developer.gnome.org/libgda/unstable/GdaConnection.html#gda-connection-statement-to-sql
to generate a SQL statement that's appropriate for the particular
backend (PostgreSQL mostly), with the correct quoting (because I use
GDA_CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE when opening the
connection).

However, I don't always want an actual connection, because OnlineGlom
then uses that SQL string with its own JDBC Java API.

So is there any easy way to get that SQL string without actually
connecting to the server? gda_statement_to_sql() seems to ignore the
connection and the quoting for case-sensitivity.
http://developer.gnome.org/libgda/unstable/GdaStatement.html#gda-statement-to-sql
 

-- 
[email protected]
www.murrayc.com
www.openismus.com

_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list

Reply via email to