-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate & GWT
PostPosted: Mon Nov 10, 2008 4:10 pm 
Newbie

Joined: Tue Oct 07, 2008 3:22 pm
Posts: 2
I'm having the same problem as this thread :
http://forum.hibernate.org/viewtopic.ph ... hlight=gwt

When DTOs are mapped to POJOs they lose there session relevance, so when mapping them back to DTOs they create new instances.
That is when Hibernate decides to delete and insert the same objects BUT with different IDs. (which in my case is not acceptable)

I've tried Dozer (http://dozer.sourceforge.net) and Hibernate4GWT (http://hibernate4gwt.sourceforge.net)

Nothing works like I would hope.

I would expect those libraries to search for given IDs to see if the object exists and update it, not create a new instance of the same object.

Any ideas ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.