Hello, #2506 has been fixed on GitHub master: https://github.com/jOOQ/jOOQ/commit/4b770fae50f3f920c93198af9d76f63f91859135
The fix is included in the latest 3.1.0-SNAPSHOT Cheers Lukas 2013/6/6 Jörg Schönfisch <[email protected]> > Thanks for the quick reply! The workaround works for us. > > Cheers, > Jörg > > > On Thursday, June 6, 2013 9:35:31 AM UTC+2, Lukas Eder wrote: >> >> >> >> >> 2013/6/6 Jörg Schönfisch <joerg.sc...@softplant.**de> >> >> Hi, >>> >>> I'm getting an unexpected SQLDialectNotSuppor**tedException if I run a >>> simple test case only containing the following line: >>> >>> DSL.inline("Hello World!", String.class); >>> >>> In our application,this happens when we initialize some static >>> constants. AFAICT the cause seems to be that DefaultDataType is not >>> initialized as this happens only when its constructor is called and not in >>> any of the static methods. >>> >>> Is this a bug or am I using the new API incorrectly? >>> >> >> This would be a bug, thanks for reporting. I've registered #2506 for this: >> https://github.com/jOOQ/jOOQ/**issues/2506<https://github.com/jOOQ/jOOQ/issues/2506> >> >> I suspect that some internals are not yet properly initialised. As a >> workaround, you could try explicitly loading the SQLDataType class, which >> does the initialisation: >> https://github.com/jOOQ/jOOQ/**blob/**5aa77b382727c0fa57b210087bd691** >> af34e65b12/jOOQ/src/main/java/**org/jooq/impl/SQLDataType.**java#L313<https://github.com/jOOQ/jOOQ/blob/5aa77b382727c0fa57b210087bd691af34e65b12/jOOQ/src/main/java/org/jooq/impl/SQLDataType.java#L313> >> >> Cheers >> Lukas >> > -- > You received this message because you are subscribed to the Google Groups > "jOOQ User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
