[FLOW3-general] Relation to singleton scope Object
"Christian Müller (FLOW3 Team)"
christian.mueller at typo3.org
Sat May 19 12:05:08 CEST 2012
Hi Benno,
I see what you want to archive and indeed this is probably not supported
at the moment, at least I don't know how. You could work with a value
object even if this doesn't really follow your domain model then. I will
think again about it, as it sounds at least as if this is a valid way of
laying out your domain model and there should be a way to do this.
Cheers,
Christian
On 17/05/12 15:18, Benno Weinzierl wrote:
> Hi all,
>
> is there a build in way to store a ManyToOne relation to a singleton scope
> object in a persisted entity object?
>
> I have a Order object which has a ManyToOne relation to a Status Object (eg
> New or inProduction) which is derived from a abstractStatus. the relation
> is not stored automatically in the db.
>
> At the moment i store the classname as string manually and retrive it via
> the object manager but i am wondering if there is a better way to do this?
>
> Regards, Benno
--
Kitsunet
Christian Müller
http://www.kitsunet.de
Mail: christian at kitsunet.de
Fon: +49 (0)228-85029939
Mobil: +49 (0)172-1091412
Dankwardstraße 6, 53179 Bonn, Germany
More information about the FLOW3-general
mailing list