1. Detached object management forum.springsource.orgDetached 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.orgComparing 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.orgUnit 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.orgDetached 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.orgMerging 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.orgDetached 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()); ... |