Ah, silly Hibernate ;).

AFAICS sooner or later a Wicket component will have to write a value into the embedded address, so obviously it has to be there. You can of course build a specialized model doing some magic here, but at the moment I don't know how that might look like.

Sven

On 12/01/2012 12:43 AM, Andrew Geery wrote:
The problem with doing that is that Hibernate detects that as a change
(a null object is not the same as an empty object) and does a database
update (see some of the comments on this:
https://issues.jboss.org/browse/HIBERNATE-50).

Andrew

On Fri, Nov 30, 2012 at 5:59 PM, Sven Meier <s...@meiers.net> wrote:
d
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to