Implemented JPA relationships.
Works for secondary tables
	- maxing out connections for ErrorEvent.