Fix bug for Intellij Idea JPA Console