On Mar 8, 2009, at 10:02 PM, J Stephanos wrote:
Once you add a index in EntityModeler (Entity Modeler/WOLips
3.4.5693) this is what is generated:
CREATE INDEX stateCode_idx FOR State (stateCode);
But the correct SQL for MySQL (5.1) is:
CREATE INDEX stateCode_idx1 ON State (stateCode);
After this manual correction, the index gets created fine.
BTW, I didn't see any index creation code in migrations.
My conclusion after last trying EOF based indexes is that this
functionality is a great idea, but not yet fully implemented and
supported in either WebObjects or Wonder. It is possible that Wonder
could be extended to fill in the blanks. Otherwise, wait for a future
version of WO...
Chuck
--JSt
http://dev.mysql.com/doc/refman/5.0/en/create-index.html
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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]