3

hibernate 动态查询(DetachedCriteria )

 4 months ago
source link: https://www.jdon.com/34829.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

hibernate 动态查询(DetachedCriteria )

hibernate DetachedCriteria 多重关联

例如:a关联b,b又关联c

DetachedCriteria detachedCriteria = DetachedCriteria.forClass("a");
detachedCriteria.createCriteria("b");
b怎么与c关联起来?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK