I don't have the 1.1 modeler around, but in the xml, I see this in my
1.1 DataMaps:
<db-entity name="ACCOUNT">
[...]
<db-key-generator>
<db-generator-type>ORACLE</db-generator-type>
<db-generator-name>ACCOUNT_SEQ</db-generator-name>
<db-key-cache-size>1</db-key-cache-size>
</db-key-generator>
</db-entity>
As Michael says, not sure if the default 1.1 jdbc pk generator
supported cache size.
On 10/6/06, Michael Gentry <[EMAIL PROTECTED]> wrote:
I *think* in 1.1.x, you might have to write your own adapter. This
wouldn't be as hard as it sounds -- copy the existing one or possibly
even subclass the current one -- I don't have the 1.1.x source handy
to look. If you can use 1.2, this becomes easier as there is support
for more PK generation options.
/dev/mrg
On 10/6/06, Mahmut Izci <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to increase the default primary key cache from it's default
> size of 20 to e.g. 50.
> Is there a configuration setting or somthing like that for this?
> I'm using cayenne 1.1.4 with mysql.
>
> Thanks
> Mahmut
>