Hi guys,
I've got two objects: User and Permission, where User has a Collection. In my "create" service, I read a bunch of Permissions, put them in a HashSet, add them to the user, and create the user using my DAO that says
((SessionFactory) sessionFactory).getCurrentSession().save(user);
When I look in my object, all looks fine, but when I look in the database, it hasn't added the set in the database.
Any suggestions on how I should go about debugging this? Any typical gotchas?
Cheers
Nik