Aug 12th, 2007, 01:29 PM
Typical example of web based application? (inculde one-to-many, many-to-many)
I am looking for an example of web based application which uses Spring and Hibernate.
I hope it has source code and show the best practice to do CRUD in all the typical relationship of domain models (many-to-one, one-to-many, many-to-many).
I have looked some examples, but their domain models don't cover all kinds of relationships.
Now I am struggling for implementing CURD of many-to-many....
Thanks for any help!
Aug 12th, 2007, 03:30 PM
What exactly is the problem? There are for sure few examples out there for many-to-many. Users/ roles is the classic example. I would replace the Spring taglib with the form taglib though.
Aug 13th, 2007, 08:05 AM
You could try my sample app :
There are many-to-many and one-to-many examples.
The current version uses JPA on top of Hibernate, but if you want some direct Hibernate usage you should have a look at the previous (1.x) versions.