hibernate5-ddl-maven-plugin icon indicating copy to clipboard operation
hibernate5-ddl-maven-plugin copied to clipboard

Issue with two differentes persistence units inside the persistence.xml

Open rafaelodon opened this issue 6 years ago • 1 comments

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.

rafaelodon avatar May 30 '18 20:05 rafaelodon

Can you provide an example project for testing this?

jpdigital avatar Feb 23 '19 15:02 jpdigital