Hi, in my class hierarchy I use the strategy
"TABLE_PER_CLASS". Now at some node (abstract subclass form the root) in my inheritance tree, I want to switch to "SINGLE_TABLE" to map two leafs to the same table.
This code doesn't works, it is just ignored.
Code:
@Entity
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name = "AssetOrIncome", discriminatorType = DiscriminatorType.STRING)
Is it possible? If yes, how?
Thanks.
Greetings Michael
PS: Sorry for cross posting, but wasn't able to delete the old post in "Hibernate users".