> Also note that the underlying argument about this feature is whether > CayenneModeler (and consequently map.xml) should include general DB admin > functions not relevant to the ORM. Even though back in 2005 I said "I am for > adding more DB admin functions to the Modeler", I am still on the fence on > whether it is a good idea. In this particular case I guess I won't object to > a working implementation.
I am very +1 on adding this feature to the modeller. Even when it may go further to standard ORM, the modeller cannot be used alone for working with cayenne. On the other hand there is no chance to prevent the loss of indexes when the db schema is regenerated. Imho I would stop when it comes to adding users to a database or re-enter passwords or something like that. Thanks for the explaination anyway > > Andrus > > On Feb 16, 2011, at 2:04 PM, Andrey Razumovsky wrote: > >> It's not supported by Cayenne, though it's a long-standing request. If >> you're willing to watch or contribute, you can follow >> https://issues.apache.org/jira/browse/CAY-204 >> >> 2011/2/16 Marek Šabo <[email protected]>: >>> Actually I would like to know whether there is any support for this in cm >>> because I've been appending them manually in generated schemata. >>> >>> On 02/16/2011 12:40 PM, Christian Grobmeier wrote: >>>> >>>> Hello, >>>> >>>> how can I create a unique index on a column with the modeller? >>>> Couldn't find any information even with google :-) >>>> >>>> I also could not find any info about indexing in Cayenne in general... >>>> my tables are all without an index (except my primary key, which is >>>> indexed by default). >>>> >>>> I am using Cay 3.1 + MySQL >>>> >>>> Thanks >>>> Christian >>>> >>> >>> -- >>> Marek Šabo >>> >>> >> >> >> >> -- >> Andrey >> > > -- http://www.grobmeier.de
