[FLOW3-general] using ID in place of UUID
Federico Bernardin
typo3list at bernardin.it
Tue Dec 4 12:22:10 CET 2012
Hi Karsten,
the solution was simpler, I was wrong.
I copied some code for model from other class and $id was private, when changed private to protected doctrine created table.
Thanks for your help
Cheers
Federico
Il giorno 04/dic/2012, alle ore 11:25, Karsten Dambekalns <karsten at typo3.org> ha scritto:
> Hi.
>
> On 04.12.12 09:27, Federico Bernardin wrote:
>> Can you help me?
>
> I hope. Try this:
>
> /**
> * @var integer
> * @ORM\Id
> * @ORM\GeneratedValue
> */
> protected $id;
>
> Column is not needed, @var and the property name carry the same
> information. I hope the visibility change does the trick, though.
>
> If that doesn't help, maybe put your model code up somewhere to check.
>
> Regards,
> Karsten
> --
> Karsten Dambekalns
> TYPO3 Core Developer, Neos / Flow Team
>
> TYPO3 .... inspiring people to share!
> Get involved: typo3.org
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list