added persistence.xml generation