Fix #1442: AgaviPdoDatabase does not assign resource property