I'm starting to use the DBUtils lib, but most of my querys are "INSERT ON DUPLICATE KEY UPDATE", I reseached but I haven't found information about how to implement that with the QueryRunner object.
Is there a way?
I'm starting to use the DBUtils lib, but most of my querys are "INSERT ON DUPLICATE KEY UPDATE", I reseached but I haven't found information about how to implement that with the QueryRunner object.
Is there a way?
Copyright © 2021 Jogjafile Inc.
Not sure what the problem is... here is an example in which you, in effect,
UPSERTon but also update the audit_date field with a new date and audit_user with the current logged in user.