new framework, add jpa sample and test