refactor entity bean structure; testcase for jpa use manual transaction control;