Fixed the imports in CustomerDaoBean, Entity should be from java.persistance and not from hibernate package