Rebuild the database and update JPA mapping