After adding Hibernate Facet to an existing module, I found unnecessary Session Factories shown in the Persistent Tool Window. Half of the factories belong to the current module, another part is picked up from Spring configuration of a dependent JAR from the local Maven repository. The module has the dependency to this JAR, that is correct, but it doesn't mean that I want/need to pick up configuration from it.
How I can add a filter to the searched Session Factory locations or remove not needed factories from the Persistent view? In my case IDEA doesn't allow me to remove "foreign" factories, because config file is located in the "external" JAR file.
Thanks for assistence,
Original message URL: http://devnet.jetbrains.net/message/5500061#5500061