Hello all, 

I'm trying to come up with a Factory that I can use to convert a POJO back 
to a Record so that we can apply some business rules and update the 
original record.

If I'm not reading the javadocs wrong DefaultRecordMapper and or custom 
RecordMapper will do the job, but I cannot for the life of me find an 
actual example of code that uses it to do the conversion from POJO to a 
Record.

A simple example of a DAO usage that we currently have, which we'd like to 
remove the dependency on.

      @Override
      public class update (Table table, User user) {
            MyTableDao dao = new MyTableDao(jooqConfiguration);
            table.setLastUpdatedBy(user.getId());
            dao.update(assessment);
      }

Thanks.

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