[FLOW3-general] Get identifier of entity object
Kevin Ulrich Moschallski
km at 3digit.de
Tue May 17 09:38:27 CEST 2011
On 2011-05-17 06:36:23 +0200, Sebastian Kurfürst said:
> That's fine!
>
> However, I'd suggest to not do that in your Domain Model, but in the
> other places where you need this identity. The Domain Object usually
> does not need to know its identity.
Hi Sebastian,
thanks for your reply. If i understand you correctly, you suggest to
get the identifier in the controller for example? I thought adding
@transient to the identifier to don't get it persistet would be enough,
am i wrong here?
Regards,
Kevin
More information about the FLOW3-general
mailing list