Sorry Lukas. Never mind this question. I misread the method, and assumed it was only checking on a single-column primary key "id", and not composite primary keys. I did not mean that it should check all attributes.
On Friday, July 1, 2016 at 8:43:59 AM UTC-4, Lukas Eder wrote: > > Hi Jacob, > > Thank you for your message. I'm sorry, I'm not quite sure what you are > asking. Do you mean why DAO.exists(P) doesn't create predicates for all of > the attributes? The simple explanation is because that would be > inconsistent with other methods, such as DAO.delete(P). > > Does that answer your question? > Lukas > > 2016-06-29 22:22 GMT+02:00 Jacob G <[email protected] <javascript:>>: > >> Why doesn't DAOImpl::exists do a full primary key lookup rather than >> existsById? >> >> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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.
