Hello Bruce,
Some answers below.
I've created a bug report at http://bugzilla.exolab.org - Bug 1793.
Sylvie.
> -----Message d'origine-----
> De�: Bruce Snyder [mailto:[EMAIL PROTECTED]
> Envoy�: mercredi 10 novembre 2004 22:19
> ��: [EMAIL PROTECTED]
> Objet�: Re: [castor-dev] [jdo] Reading, in the same transaction, a data
> just created (reading via oql query)
>
>
> SYLVIE PALLUEL wrote:
>
> > I don't know if this can help you, but I made another test with an OQL
> > pass-thru, and I get the new object before the commit phase.
>
> It seems to me that using pass through SQL should only work if you are
> using autocommit. Are you using autocommit? What database are you using?
[SYLVIE PALLUEL] I'm using Mysql Innodb and Oracle 9i (autocommit set to
false).
>
> > Is there something special to do to enable the OQL query to see the
> objects
> > created inside the current transaction?
>
> There's nothing special that needs to be done. Just as Patrick stated,
> OQL queries do not look at the cache before going to persistence. This
> is different from the db.load() method which actually does look at the
> cache first.
[SYLVIE PALLUEL] Ok.
>
> Bruce
> --
> perl -e 'print
> unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
>
> The Castor Project
> http://www.castor.org/
>
> Apache Geronimo
> http://geronimo.apache.org/
>
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev