Fix bug for Intellij Idea JPA Console

Fix Bugs~