I'm developping a JSE application that uses JPA. I'm creating several Java Modules and because I'm using JPA annotation and persistence.xml files, I've choosen to add a persistence unit to my module. Maybe that wasn't a good idea because now Idea doesn't allow me to compile due to so many "Assign Persistence Unit Datasource" errors. Idea wants me to map a datasource to my persistence unit, but I don't want to.
It is a JSE application without any datasource (I'm using transaction-type="RESOURCE_LOCAL" on persistence.xml file) and I don't know how to desactivate this intention/error checking with Idea.
Does anybody knows how to deactivate that ? Shall I not add persistence unit to a module and just deal with persistence.xml file on my own ?