Fix #1346: AgaviSqlsrvDatabase does not assign resource property