Based on EF4 Code First Migration, write on Java, use Spring to config