You create EntityIndexes on an Entity ... It's not per-attribute because you can have composite unique indexes potentially.

ms

On Feb 21, 2009, at 10:32 AM, Stamenkovic Florijan wrote:


On Feb 21, 2009, at 11:22, Mike Schrag wrote:

However, it *might* be possible to enhance EntityModeler to include this info in the EOModel, and thereby to generate SQL that does this for you... It would not be information present at runtime, in the programatic rep of the model, which could be a source of confusion, but it might be a convenient feature nevertheless. And who knows, maybe Apple would pick up on it and include this info in the EOModel standard... Any thoughts on this from WOProject folks?
5.4 added this, and Entity Modeler already supports it ... It depends on your plugin as to whether or not SQL will be generated for it, and I don't think migrations look at that (because the API isn't available in 5.3).

Huh, I can't find it... I don't see any sort of a uniqueness control column in the EntityModeler (plugin, not standalone) in the attributes table, nor do I see it in the "Properties" tab for an attribute. Uhm, WTF?

Eclipse 3.4.1
WOLips 3.4.5668 (stable)
WO 5.4

F


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to