According to this article, the connectors are different. The 2012 has a wider redesigned SATA 3 connector.
Apple's new Ivy Bridge-equipped MacBook Air features a design largely the same as its predecessor, though a few minor tweaks have been implemented, most significantly a redesigned connector for the flash memory module.