Simple Diary in Java with MySQL conn