I use a slightly different approach that allows use of a 3rd-part GUI SQL client.
The advantages are:
interfaces any jdbc compliant db
displays schema information
allows interactive query creation/testing/debugging.
© 2016, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.