Bob Winter wrote:Solid article.
+ doesn't use Class.forName()
+ uses PreparedStatement
+ shows usage of DataSource and connection pooling
+ also makes use of tey-with-resources to cleanly return the connection to the pool
- doesn't mentioned MariaDB
- no exaple for DELETE but rather only "same as insert and update"
Overall length is ok for a blog post to just give a jumpstart. Should be read by anyone planing some book or wiki or tutorial about jdbc.