Hi, > I have a need to take a user-supplied SQL query and perform a few > modifications to it before allowing it to execute against the > database. Mostly, this consists of injecting in extra field names and > conditions. I need this to be transparent to the user because the user > cannot be relied on to include this information.
Could you describe the use case? I'm just curious. > Is it possible to use H2 to take a SQL string, convert it into a > datastructure, then allow me to manipulate that datastructure (to add > extra tables/fields/conditions/expressions), then convert it back into > a SQL statement for executing against the database? It's possible as Kerry has described, however this is not an official public API, so it may change at any time. Regards, Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to h2-datab...@googlegroups.com. To unsubscribe from this group, send email to h2-database+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.