Le 20/05/2011 08:40, riker09 a écrit :
On May 19, 12:49 pm, Christophe COEVOET<s...@notk.org>  wrote:
No tables are created for the FOSUserBundle as it provides only some
mapped superclass. You need to implement the entity. Read the doc of the
bundle:https://github.com/FriendsOfSymfony/UserBundle/blob/master/Resources/...
I'm trying, I really am, but this kind of a difficult concept for me
to grasp. What exactly are those mapped superclasses? What do you mean
by "You need to implement the entity"? Do I have to define all the
fields for the table/document all over again? Seems like the wrong way
to go here...

Volker
A mapped superclass is a class which contains some mapping which will be inherited by the subclasses but which is not an entity itself (and so it has no corresponding tables). You don't need to redefine all fields in the child class. You just need to make your entity inherit from the mapped superclass. And as I said, read the doc of the bundle to see what is needed to use the bundle.

--
Christophe | Stof

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to