The Hanover Company has secured an $87.4 million construction loan to build a 345-unit apartment complex in north San Jose.