Detached « Object « Spring Q&A





1. Detached object management    forum.springsource.org

Detached object management I am moving forward with integrating Hibernate and Tapestry, and I have now added Spring into the mix. I've eliminated lazy initialization exceptions (so far, thanks to OpenSessionInViewFilter), ...

2. Comparing detached object with persistent one in same Sessio    forum.springsource.org

Comparing detached object with persistent one in same Sessio I have transactions set up at the service layer and the service classes call a dao layer that uses Hibernate. As I ...

3. Unit Test Simulating Detached Objects    forum.springsource.org

Unit Test Simulating Detached Objects Greetings! I have dao unit test that I have setup, that *I think* simulate the modification and later update of a detached object. The reason why ...

4. Detached object    forum.springsource.org

Detached object Hello guys, Here is what i am doing: I have a 3 tire architecture. jsf - spring - hibernate I use transaction manger to manage my data. First thing ...

5. Merging detached objects - new instances    forum.springsource.org

Merging detached objects - new instances Hi We are merging detached objects using hibernateTemplate.merge (hibernate annotations 3.2.1.ga, spring hibernate 2.0.2). For new objects, we use persist. We try to merge an ...

6. Detached object doesn't get updated    forum.springsource.org

Detached object doesn't get updated Hey, Would you please consider the following snippet: Code: public String saveContact(Contact contact) { try { Long contactId = contact.getId(); Contact c = dao.loadContactById(contactId); c.setGsm(contact.getGsm()); c.setField1(contact.getField1()); ...