Skip to content Skip to sidebar Skip to footer

How To Convert List Into Updatablerecord?

I have issue related batchDelete in jooq. I have a list folderProcessChecklistRecordListin my code given below .But the issue is that convert list into UpdatableRecord .Because of

Solution 1:

There are a couple of potential problems here:

Your record simply isn't an UpdatableRecord

Are you sure that your FolderProcessChecklistRecord is an UpdatableRecord? Otherwise, you couldn't pass it to either batchDelete() method

Your Transaction.current() object doesn't implement all of DSLContext

jOOQ ships with overloaded DSLContext.batchDelete() methods:

From other questions (by your coworkers?), I suspect that your custom Transaction type might not correctly implement DSLContext.

Post a Comment for "How To Convert List Into Updatablerecord?"