Modify persistence.xml to show log when query db.