Simple question...
I have a few projects in Eclipse enviroment
MainApp(Enterprise Application Project) which "includes"
Problem is where to put persistance.xml file?
Getting exception: java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName DataModel
The persistence.xml file is typically present in the src/META-INF
directory of the persistence (JPA) project. If the project was created with Eclipse, it is typically created and placed there by default.