• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Indexes on Postgresql using EOF Modeler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indexes on Postgresql using EOF Modeler


  • Subject: Re: Indexes on Postgresql using EOF Modeler
  • From: Ramsey Gurley <email@hidden>
  • Date: Wed, 09 Mar 2011 08:23:38 -0700

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@hidden> 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@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Indexes on Postgresql using EOF Modeler (From: Paul Dunkler <email@hidden>)
 >Re: Indexes on Postgresql using EOF Modeler (From: Michael Gargano <email@hidden>)

  • Prev by Date: Re: Indexes on Postgresql using EOF Modeler
  • Next by Date: Shortened autogenerated names
  • Previous by thread: Re: Indexes on Postgresql using EOF Modeler
  • Next by thread: Re: Indexes on Postgresql using EOF Modeler
  • Index(es):
    • Date
    • Thread