Checkstyle for database package.

javadocs and naming format.