[FLOW3-general] using ID in place of UUID
David Sporer
david.sporer at gmail.com
Tue Dec 4 09:48:59 CET 2012
Have you updated your database (./flow doctrine:update) afterwards?
-----Ursprüngliche Nachricht-----
Von: flow3-general-bounces at lists.typo3.org
[mailto:flow3-general-bounces at lists.typo3.org] Im Auftrag von Federico
Bernardin
Gesendet: Dienstag, 4. Dezember 2012 09:48
An: General discussion about FLOW3
Betreff: Re: [FLOW3-general] using ID in place of UUID
Hi David,
You're right but it doesn't work again:
No identifier/primary key specified for Entity
regards
Federico
Il giorno 04/dic/2012, alle ore 09:28, "David Sporer"
<david.sporer at gmail.com> ha scritto:
> Hi,
>
> öhm did you really use pipes ( | ) instead of backslashes?
> Try to use @ORM\Id instead of @ORM|Id
>
> Regards
> David
>
> -----Ursprüngliche Nachricht-----
> Von: flow3-general-bounces at lists.typo3.org
> [mailto:flow3-general-bounces at lists.typo3.org] Im Auftrag von Federico
> Bernardin
> Gesendet: Dienstag, 4. Dezember 2012 09:27
> An: General discussion about FLOW3
> Betreff: [FLOW3-general] using ID in place of UUID
>
> Hi,
> I'm having fun with typo3 flow, and I'd like to create a specific
> integer id in my entity. I have looked for documentation but it doesn't
work.
> I wrote this line:
>
> /**
> * @var integer
> * @ORM\Column(name="id", type="integer")
> * @ORM|Id
> * @ORM|GeneratedValue
> */
> private $id;
>
> Can you help me?
>
> regards
> Federico
>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
_______________________________________________
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