Add sample from tutorials.

Link: http://www.vogella.com/tutorials/MySQLJava/article.html.