Convert to Hibernate: LanguageDAO, MetricDAO