Compiled, working out Hibernate issues