Hello Todd,
You're right, SQLite doesn't have a schema. Internally, in jOOQ, a
null Schema is referenced for that. It may be that there is a bug in
the jOOQ Console, related to such null schemas. Have you tried using
new org.jooq.impl.SchemaImpl(""); as a temporary workaround?
In any case, I have created #1915 for this issue:
https://github.com/jOOQ/jOOQ/issues/1915
Cheers
Lukas
2012/10/31 <[email protected]>:
> So, following the instructions here:
> http://www.jooq.org/doc/2.5/manual/tools/jooq-console/
>
> I create the descriptor, and console, but what do I write for the
> getSchema() method?
>
> sqlite doesn't have a schema, does it?
>
> In the xml file I have for codegen, there is just: <schema></schema>
> If I just return null, I get NullPointerException.
> If I use the jdbc connection I got, and return connection.getSchema()
> I still get NullPointerException.
>
> what's the trick?
>
> thanks,
> -todd