http://hibernate.org/5.html#A5
Hibernate does not delete all elements of the list. I am pretty sure it's explained in the collection taxonomy chapter. And you can always turn on the logs to see what is going on (also explained in the doc).


On  Apr 15, 2008, at 23:18, Wesley Forti wrote:
where Can i find reference documentation?

see, I'd like to know does hibernate manage this king of problem internally.  I 'm not asking about how to use hibernate to persist a list.

On Tue, Apr 15, 2008 at 10:44 PM, Gail Badner <gbadner@redhat.com> wrote:
This is clearly spelled out in the reference documentation. If you still have questions, please post them on the user forum at http://forum.hibernate.org/ .

Gail
Wesley Forti wrote:
Hi

Id like to know how hibernate manage list persistene. Let me explain.

I have a Table in my DB and a List in my java code representing my data persisted in DB. Imagine user made some manipulating in this list: remove some object, add new one and edited existing ones.

How hibernate persists this data back to DB? It will delete all data in DB an persist all my list back again?

How does it make this merge?

tks.

--
Att,
---
Wesley Forti
------------------------------------------------------------------------

_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
 




--
Att,
---
Wesley Forti
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev