[Flow] Persist Classes that extends another Class
Johannes
mailing at var-dumper.de
Mon Nov 4 23:24:40 CET 2013
Hey guys,
i got an abstract class and two models wich extends that abstract class. No i want to persist those ($repository->add(model)). But i keep getting an SQL-Error like this on Query
"SELECT t0_.persistence_object_identifier AS persistence_object_identifier0, t0_.name AS name1, t1_.plannedprojecthours AS plannedprojecthours2, t1_.projectgroup AS projectgroup3 FROM tisum_project_domain_model_project t1_“
" Unknown column 't0_.persistence_object_identifier' in 'field list‘ "
As you can see the query isn’t build correctly. There is a mix of t0_ and t1_.
So how can i get this working? Right now i got 2 repositories. One for each model that extends the abstract class. Do i need an Repository for the abstract class also?
Thank you!
Johannes
--
Twitter:
@stolle_
---------------------------------------------------------
This E-Mai is signed with OpenPGP
Pub-Key: 31ED1680
More information about the Flow
mailing list