Fix #1345: AgaviPdoDatabase does not assign resource property