Hi,
The current dao/domain model generation by database schema doesn’t support recursive relationships.
So it is not possible to scaffold a tree-like hierachy structure. (eg. Employee { int id, String name, Employee Boss })
Here a some screenshots of a database table with a recursive field and the resulting scaffolded code:
![](http://s1.directupload.net/images/101011/ijo7u279.jpg)
![](http://s7.directupload.net/images/101011/ibveky3w.jpg)
I would really be glad if it could be fixed in near future!
Best Regards
Chris