Start with the org.h2.command.Parser class. It's a standard recursive
descent parser, very easy to work with.
On 2012-07-05 23:56, awebdeveloper wrote:
> Hi,
>
> I am connecting to H2 in MySQL compatibility mode using a MySQL driver
> (Caucho Quercus' MySQL driver to be exact). I am getting an error
> during connection, saying there is a syntax error in the SQL query:
> SET NAMES 'latin1'; (Basically SET NAMES is not supported by H2 yet.)
> This is valid for MySQL, but as I am aware, H2's MySQL compatibility
> is not 100%. I've seen that solving this is already on the todo list
> for H2, but it's kind of tucked away somewhere in the lower half of
> priorities :-) I am trying to raise awareness for this issue, maybe it
> can be given a higher priority. Also, I would be interested in
> working/coding on this issue myself. But I probably need some help in
> that area, since I have never worked with the H2 code base before.
>
> If anyone could give me some feedback/tips/help with this, it would be
> greatly appreciated :-)
> --
> You received this message because you are subscribed to the Google
> Groups "H2 Database" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/h2-database/-/VtdpwtcF7UkJ.
> To post to this group, send email to
h2-da...@googlegroups.com.
> To unsubscribe from this group, send email to
>
h2-database...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/h2-database?hl=en.