Alternative 1:
Try to evict objects that you dont want to save:
Code:
session.evict(item_not_to_save)
than save your item and attach "item_not_to_save" to your session again.
Its tricky could work, but anyway it is irritating with Hibernate. Image you have a list with 1000+ positions...
sesstion.save(item) and commit should only save "item" not all changes.wrrr... ;-)
Alternative 2:
Create second session "session2" and attach only object that are need to be saved, and save it in session2. Than retach them to your session1. Its tricky also...