How to Create / Include Multiple JPA Persistence Units

If you have multiple JPA persistence units in your persistence.xml file and your entities have the same name, you need to set




Or else you will get

javax.annotation.processing.FilerException: Attempt to recreate a file for type ...


Popular posts from this blog

Check MySQL query history from command line