Converting some SQL queries from string to parameterized form. The biggest stuff, the PersonDaoHibernate is still to come.