1

Can multiple inheritance be mapped in hibernate ORM? https://wiki.eclipse.org/Teneo/Hibernate/ModelRelational/Inheritance_Mapping says hibernate itself does not support multiple inheritance so is there a way to implement multiple inheritance or no?(Note its multiple inheritance not multilevel inheritance).

1 Answer 1

1

Multiple inheritance in java is only possible via interfaces, not objects. Because Hibernate is ORM framework it doesn't map interfaces, but map classes to database tables. So, there's not multiple inheritance in Hibernate.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.