Hi, Sorry, I wanted to write:
The "comment=" syntax should *not* be too hard to fix. Regards, Thomas On Fri, Jun 7, 2013 at 5:28 PM, Thomas Mueller <[email protected] > wrote: > Hi, > > > Is it possible to mix the H2 dialect with MySQL mode? > > I'm not completely sure, but it's worth a try. > > The "comment=" syntax should be too hard to fix. Patches are welcome! I > think it would be a relatively simple change in the Parser class. > > Regards, > Thomas > > > > > On Fri, Jun 7, 2013 at 5:22 PM, Aaron Zeckoski <[email protected]>wrote: > >> Unfortunately, we have a mix of raw SQL and hibernate so when the raw >> SQL (which is MySQL specific) is executed against H2 we need the >> compatibility to be MySQL. Is it possible to mix the H2 dialect with >> MySQL mode? >> -AZ >> >> >> On Fri, Jun 7, 2013 at 2:05 AM, Noel Grandin <[email protected]> >> wrote: >> > >> > On 2013-06-07 03:03, Aaron Zeckoski wrote: >> >> >> >> H2 when running in MYSQL compatibility cannot handle (or ignore) >> COMMENT >> >> commands in CREATE statements. For example: >> >> >> >> This SQL is generated by Hibernate 3.6 so I cannot simply remove the >> >> comments. >> > >> > >> > If you're using Hibernate, why don't you just switch Hibernate into H2 >> mode? >> > >> > But you're always welcome to supply a patch if you really want this >> feature >> > :-) >> >> >> >> -- >> Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile >> >> -- >> You received this message because you are subscribed to the Google Groups >> "H2 Database" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/h2-database?hl=en-US. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
