[FLOW3-general] temporary entities

Marc Neuhaus apocalip at gmail.com
Wed Dec 12 23:57:48 CET 2012


Hey Thomas,

If you don't declare the object an Entity it shouldn't be picked up by
doctrine,
which means it wont generate a migration nor table.

Greetings, Marc


2012/12/12 Thomas Mammitzsch <thomas at visualworx.de>

> hi Karsten,
>
> ok, how to omit table creation? I think doctine:update will do that
> automatically.
>
> regards, Thomas
>
>
> On 10.12.2012 08:44, Karsten Dambekalns wrote:
>
>> Hi.
>>
>> On 09.12.12 14:06, Thomas Mammitzsch wrote:
>>
>>> i have to create severals instances of an entity, which i never want to
>>> persist because they are created only for that single request (result of
>>> a webservice query). I don't even need a table to be created for this
>>> entity. Whats the right way to do that?
>>>
>>
>> First to try is leaving out the Entity annotation. If you need that (for
>> id generation or whatever), just don't create the tables - should work
>> as long as you really do not try to persist any of those entities.
>>
>> Regards,
>> Karsten
>>
>>
> ______________________________**_________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/flow3-**general<http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general>
>


More information about the FLOW3-general mailing list