RE: [Hibernate] saveOrUpdateCopy()

2003-11-11 Thread Eric Pugh
I think this is going to fix a lot of problems I occasionally have. However, I hope the docs reflect the disadvantages of this method, and strenously point out why you shouldn't use it.. I know what kind of developer I am.. Despite my best efforts, if I run into a bug that this would prevent, I'm

Re: [Hibernate] saveOrUpdateCopy()

2003-11-10 Thread Gavin King
This will probably be very useful in situations where we do not have full control of the object in question. For example Axis is a very good framework for implementing web services, as well as Java -> XML & XML -> Java binding. However without modification of Axis, the returned Java object will a

Re: [Hibernate] saveOrUpdateCopy()

2003-11-09 Thread Rob Butler
Hello all, This will probably be very useful in situations where we do not have full control of the object in question. For example Axis is a very good framework for implementing web services, as well as Java -> XML & XML -> Java binding. However without modification of Axis, the returned Java o

Re: [Hibernate] saveOrUpdateCopy()

2003-11-09 Thread Christian Bauer
On 10 Nov (00:27), Gavin King wrote: > loaded object from the session cache). The new state is then /copied/ > onto the loaded object and the loaded object is returned to the user. > We never get the exception listed above, because we don't try to add > the given object to the cache. If no object