On Mar 9, 2011, at 4:32 AM, Michael Gargano wrote:

> I believe Mike S. said that indexes were added in 5.4 and the modeler doesn't 
> support them because there's no API.  You have to add them programmatically 
> in your migration script.  


To elaborate, I believe you can replace the eogen template that EntityModeler 
uses for entity migrations by replacing/creating your own template at:

~/Library/Application Support/WOLips/EOGenerator/EntityMigration0.java

The latest one used by entity modeler is located here:

https://svn.objectstyle.org/repos/woproject/trunk/woproject/wolips/core/plugins/org.objectstyle.wolips.eomodeler.core/templates/EntityMigration0.java

Ramsey


> If you search the archives you can get his exact response. I asked in Oct. or 
> Nov. last year.  :)
> 
> -the other Mike
> 
> Sent from my iPhone
> 
> On Mar 9, 2011, at 6:03 AM, Paul Dunkler <[email protected]> wrote:
> 
>> Hi folks,
>> 
>> i'm currently working with WOLipse and the EntityModeler for creating a 
>> postgres-driven database model. Everything works fine except the creation of 
>> indexes.
>> I can create new indexes on tables, but they aren't included in the 
>> sql-output generated by the modeler. Only the indexes on the primary key 
>> attributes are generated (automatically), but no index which i defined by my 
>> self.
>> 
>> Would be very nice if anyone now what to do, because i don't want to 
>> maintain my indexes in txt-documents or something ;)
>> 
>> 
>> --
>> Best Regards
>> 
>> Paul Dunkler _______________________________________________
>> 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/mgargano%40me.com
>> 
>> This email sent to [email protected]
> _______________________________________________
> 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/ramseygurley%40gmail.com
> 
> This email sent to [email protected]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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