Re: auto pk cache size

From: Cris Daniluk (cris.danilu..mail.com)
Date: Thu Mar 02 2006 - 09:43:00 EST

  • Next message: Gary Jarrel: "DbGenerator"

    If you are using AUTO_PK support, I believe the cache is still both
    used and honored, though someone else will have to verify (I'll check
    the code to make sure but it will take me some time!)

    On 3/2/06, Michele Cuozzo <m.cuozz..eply.it> wrote:
    > yes, but the setting you are talking about says "currently ignored by all
    > adapters except Oracle" and it generates in the xml map
    > something like
    >
    > <db-key-generator>
    > <db-generator-type>ORACLE</db-generator-type>
    > <db-generator-name>trx_support</db-generator-name>
    > <db-key-cache-size>1</db-key-cache-size>
    > </db-key-generator>
    >
    > where trx_support is the db-entity name....
    >
    > ----- Original Message -----
    > From: "Cris Daniluk" <cris.danilu..mail.com>
    > To: <cayenne-use..bjectstyle.org>
    > Sent: Thursday, March 02, 2006 3:29 PM
    > Subject: Re: auto pk cache size
    >
    >
    > Then yes - you should see a setting right under the DbEntity in the
    > modeler, IF you're using auto-pk generation.
    >
    > On 3/2/06, Michele Cuozzo <m.cuozz..eply.it> wrote:
    > > Thanks a lot. I'm using the 1.1.1
    > >
    > > ----- Original Message -----
    > > From: "Cris Daniluk" <cris.danilu..mail.com>
    > > To: <cayenne-use..bjectstyle.org>
    > > Sent: Thursday, March 02, 2006 3:10 PM
    > > Subject: Re: auto pk cache size
    > >
    > >
    > > You can set it right in the modeler, under the DbEntity. Are you using
    > > 1.1 or 1.2?
    > >
    > > On 3/2/06, Michele Cuozzo <m.cuozz..eply.it> wrote:
    > > >
    > > > hi all,
    > > > I've got a simple (hopefully) answer: How can i set the pk cache size to
    > > 1?
    > > > I would like to do it in the config files, is it possible?
    > > >
    > > > thanks,
    > > > bye
    > >
    > >
    > > --
    > > No virus found in this incoming message.
    > > Checked by AVG Free Edition.
    > > Version: 7.1.375 / Virus Database: 268.1.1/271 - Release Date: 28/02/2006
    > >
    > >
    > >
    >
    >
    > --
    > No virus found in this incoming message.
    > Checked by AVG Free Edition.
    > Version: 7.1.375 / Virus Database: 268.1.1/271 - Release Date: 28/02/2006
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Mar 02 2006 - 09:43:01 EST