Hi Lukas,

I use :

------------------------
*<pojos>true</pojos>
<interfaces>true</interfaces>
<daos>true</daos>*
------------------------

I see that the generated DAOs use the pojos *implementations* as the types 
they deal with, instead of the associated *interfaces*.

For example, this is generated :

*userDao#update(User);*

not

*userDao#update(IUser);*


So if I play with *IUser *implementing objects and I want to use their 
associated DAOs, I have to convert them to *User *first by myself, right? 
Is there a reason for that?

Since the *User *pojo already contains a *from(IUser)* method, I guess Jooq 
could do the convertion by itself?

Thanks in advance!


-- 
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