hibernate5-ddl-maven-plugin
hibernate5-ddl-maven-plugin copied to clipboard
Issue with two differentes persistence units inside the persistence.xml
I have two persistence units in my persistence.xml, each one with a different set of classes.
They were both configured with exclude-unlisted-classes=true in order to avoid hibernate to auto discover the entities, thus guaranteeing that each persistence unit have its own separate entities correctly recognized.
The plugin ignores this confugiration and generate one single DDL mixing both persistence unit classes.
Can you provide an example project for testing this?