Collection « Schema « JPA Q&A

1. many-to-may indexed collection SchemaExport

3. Problem with SchemaExport tool and inverse collections

Hello, I have problem with creation of tables by using hibernate SchemaExport tool. It seems that in case of "Table per subclass, using a discriminator" model, the tool creates duplicate column in table for parent class for bi-directional associations in child class. I put example mappings below. For these mappings, it creates two "B" column in vk_object, and vk_class_a table. Column ...