How to save the data into database in the order of the entered details.
I guess I'm just wondering why it's important to save them in the same order? Really, all you want to do is save it, right? You can order it any way you want when you pull it out of the database.
Saving a set should just be standard Hibernate code. I don't think there's any special magic you need to perform.