Hmm, yes, your original analysis indicated the right place. jOOQ currently
doesn't support the java.sql.Types.NULL type (which should actually be
called UNKNOWN, not NULL). This type should probably just map to
java.lang.Object for all SQL dialects.

Cheers
Lukas


2013/8/8 Lukas Eder <[email protected]>

> Hello,
>
> I can reproduce this issue with your test program. As a matter of fact, I
> can also reproduce it with the MySQL connector JDBC driver, not only with
> the MariaDB JDBC driver. I don't think that this is an improvement request.
> It's just a regular bug, which I have registered here:
> https://github.com/jOOQ/jOOQ/issues/2681
>
> Thanks again for reporting!
>
> Cheers
> Lukas
>
>
> 2013/8/7 <[email protected]>
>
> I didn't have a specific table that caused it but I can outline the steps
>> when I was able to reproduce it with MariaDB.
>>
>>
>>    1. Download MariaDB Standalone zip -
>>    https://downloads.mariadb.org/mariadb/5.5.32/#os_group=windows
>>       1. Extract and run
>>
>>        bin\mysqld --console
>>
>>       2. Run program:
>>
>> import java.sql.Connection;
>> import java.sql.DriverManager;
>>
>> import org.jooq.DSLContext;
>> import org.jooq.SQLDialect;
>> import org.jooq.impl.DSL;
>>
>> public class Test
>> {
>> public static void main(final String[] args) throws Exception
>> {
>> String url = "jdbc:mysql://localhost";
>> Class.forName("org.mariadb.jdbc.Driver");
>>
>> Connection c = DriverManager.getConnection(url);
>>
>> DSLContext context = DSL.using(c, SQLDialect.MYSQL);
>> context.meta().getTables();
>> }
>> }
>>
>>  --
>> 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.

Reply via email to