The following data is extracted from Genealogy and Biography of Ontario County, New York.
(II) James (2), second son and fourth child of James (1) and Anna Hamlin, was born in England and baptized April 10, 1636, at St. Lawrence parish, Reading, Berkshire. He came to Plymouth colony, New England, with his mother and sisters, prior to 1642, and married, November 20, 1662, at Barnstable in that colony, Mary, daughter of John and Mary Dunham. John Dunham, who was an inhabitant of Marlborough, Massachusetts, in 1623, was deputy to the general court several years and died in 1692, aged seventy-two years. He was a son of Deacon John Dunham, who came from England to Plymouth with his wife Abigail, and they had, about 1628, three sons and a daughter. James Hamlin was a farmer and lived on the Coggin's Pond lot, owned by his father up to 1702, when he removed to Hamblin Plains in West Berkshire. In his will, made in 1717, he claims to be a resident of Tisbury, but is reported as a representative at a great and general court or assembly, for Her Majesty's Province of Massachusetts Bay in New England, held in Boston, Wednesday, May 13, 1705, as Mr. James Hamlin, Barnstable. His wife, Mary, died April 19, 1715, in the seventy-third year of her age, and James Hamlin died in Tisbury, May 3, 1718. Their children, all born in Barnstable, were fourteen in number: 1. Mary, July 24, 1664. 2. Elizabeth, February 14, 1665-66. 3. Eleazer, April 12, 1668. 4. Experience, April 12, 1668. 5. James, August 26, 1669. 6. Jonathan, March 6, 1671. 7. A son, March 28, 1672, died April 7, 1672. 8. Ebenezer, July 29, 1674. 9. Elisha, March 5, 1676-77, died December 20, 1677. 10. Hope, March 13, 1679-80. it. Job, January 15, 1681. 12. John, January 12, 1683. 13. Benjamin, baptized March 16, 1684-85. 14. Elkanah, baptized March 16, 1685.
Source: Genealogy and Biography of Ontario County, New York