Amar,
There is nothing inherently difficult in what you just said, since you are only using a subset of the Hibernate capabilities (i.e, you will just insert).
You can call your business methods whatever you want (e.g "update") and then let you hibernate DAO do the flagging/insertion).
The only difficulty I foresee, is that your Business side can't use the Hibernate row id at all, since this will change on any new update. You will have to ensure that all your tables using this mechanism have alternative (natural, candidate) keys, meaningful on the business side.
_________________ Gonzalo Díaz
|