Carey Brown wrote:Ok, your approach is more generally applicable. I tend to make Data Transfer Objects with one for each database table.
With your try-with-resources you don't need the "finally" block.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton