Hi Matt,

2015-01-04 5:28 GMT+01:00 <[email protected]>:

> First off, I'm fairly new to jOOQ - and I have to say that I'm really
> impressed with what I'm finding. Great stuff!
>

Thanks for your nice words!


> But when I execute the following (I'm getting the field name from the
> user, in truth - which is why I'm putting in a String here, by the way):
>
> create.fetchOne(t, t.field("id").equal(id)).into(Test.class)
>

Just to be sure: What is this "t"? Is it the generated table that contains
Field references that refer to your converter?


> I get the following exception:
>
> [...]
> Caused by: org.jooq.exception.DataTypeException: Cannot convert from
> 2013-09-20T16:50:47.820Z (class org.joda.time.DateTime) to *class
> java.util.Date*
>         at org.jooq.tools.Convert$ConvertAll.fail(Convert.java:873)
> [jooq-3.5.1.jar:]
>         at org.jooq.tools.Convert$ConvertAll.from(Convert.java:811)
> [jooq-3.5.1.jar:]
>
>
Where does this java.util.Date come from? jOOQ doesn't know how to convert
from Joda's DateTime to java.util.Date...

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/d/optout.

Reply via email to