make SubjectRepository with derby db