[FLOW3-general] Relation to singleton scope Object

Benno Weinzierl benno_weinzierl at web.de
Thu May 17 15:18:56 CEST 2012


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


More information about the FLOW3-general mailing list