开发者

does hibernate support self association?

开发者 https://www.devze.com 2023-02-05 15:34 出处:网络
i have a problem like in simple words Animal has ch开发者_StackOverflow中文版ilds of type Horse which in turn has more childs of type Horse only.

i have a problem like in simple words

Animal has ch开发者_StackOverflow中文版ilds of type Horse which in turn has more childs of type Horse only.

is it possible in hibernate as i am trying but unable to succed.

Please help.


Yes, for example tree structures are possible in Hibernate.

It would be better if you post some code.

0

精彩评论

暂无评论...
验证码 换一张
取 消