BTW, just added support for custom sequence names to the Modeler. This
is available in the nightly build:
http://objectstyle.org/downloads/cayenne/nightly/2003-5-31/
Note that only Oracle adapter takes these settings into account.
Andrus
On Tuesday, May 27, 2003, at 01:28 AM, Andrus Adamchik wrote:
>> Other issue: I'm setting up my model over an existing database. When
>> I tried to create the primary key support sequence for one of my
>> tables, Oracle rejected the name suggested by the modeler
>> ("pk_ttis815_bkb_transactions_data") because it was too long.
>> I can't rename the table because it's used by other applications. How
>> can I still have primary key support for it??
>>
>> PS: Yes, I know the name for the table is a bit long, but I'm not
>> responsible for it :)
>
> You were not the only one in such situation. To address this one of
> our committers added the ability to configure sequence parameters
> (name, cache size). Right now this requires manual hacking of DataMap
> XML file:
>
> http://objectstyle.org/cayenne/lists/cayenne-user/2003/03/0016.html
>
> CayenneModeler doesn't support this (yet), but the good news are that
> once you change XML file manually, you can open and save it with
> Modeler. All you custom information will be preserved.
This archive was generated by hypermail 2.0.0 : Sat May 31 2003 - 14:26:36 EDT