Reza Rahman wrote:Bradley,
You are using Hibernate I am assuming? If so, one option is to switch persistence providers. TopLink/EclipseLink/Kodo/OpenJPA handle lazy loading more gracefully. The other option, of course, is just to implement the Object.clone() method and get an "unadulterated" copy when you need it :-).
Hope this helps,
Reza
Originally posted by Amit M Tank:
Make your logger member variable static.
Originally posted by Edvins Reisons:
The specification covers this, no need to code anything:
Originally posted by jim li:
hi guys
Container managed persistence is better when you want to develop a fast solution, but without much control over the system, and the less efficiency than bean managed persistence
on the other hand, the advantage of bean managed persistence is that you have to implement your own methods, so you have more control, but the cost of the implementation is high.
am i correct ?
please give me some suggestions.
thank you