[FLOW3-general] defone auto_incement on non primary column
Peter Russ
peter.russ at 4many.net
Thu Dec 15 23:16:04 CET 2011
Hallo,
I have the following challenge to define an attribute which
auto_increments but shouldn't be primary key. So far I haven't found a
way to achive this in Doctrine.
All I can figure out is that this would work with @Id and @GeneratedValue
But by doing this I would loose the uuid :(
Any idea how to keep uuid and define an attribute auto_increment with
Doctrine.
Thanks in advance.
Peter
--
Fiat lux! Docendo discimus.
_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ
More information about the FLOW3-general
mailing list