[hibernate-dev] HIbernate Behavior Persisting Lists.

Emmanuel Bernard emmanuel at hibernate.org
Wed Apr 16 07:48:24 EDT 2008


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 at 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
>
> I´d 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?
>
> tk´s.
>
> -- 
> Att,
> ---
> Wesley Forti
> ------------------------------------------------------------------------
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>
>
>
>
> -- 
> Att,
> ---
> Wesley Forti
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20080416/c091549f/attachment.html 


More information about the hibernate-dev mailing list