add version1.2 coredata support.

add version1.2 coredata support.