Re: Quick query question

From: Dave Lamy (davelam..mail.com)
Date: Tue Apr 07 2009 - 12:43:08 EDT

  • Next message: Joseph Schmidt: ""Can't get primary key from temporary id" :("

    Actually I totally lied just then. Didn't like the "db:".. had to remove.
    My initial test case turned out to be faulty. Guess I need a test case for
    my test case :-).

    Anyway thanks again.

    On Tue, Apr 7, 2009 at 11:37 AM, Dave Lamy <davelam..mail.com> wrote:

    > That did it Mike-- great call! Thanks for the assist. Didn't have to
    > remove the db: .. not sure if it would work without it or not.
    >
    > Dave
    >
    >
    > On Mon, Apr 6, 2009 at 8:10 AM, Michael Gentry <mgentr..asslight.net>wrote:
    >
    >> Maybe instead of:
    >>
    >> Expression expr = ExpressionFactory.inExp("db:" + pkName, idValues);
    >>
    >> Use:
    >>
    >> Expression expr = ExpressionFactory.inDbExp("db:" + pkName, idValues);
    >>
    >>
    >> I've never used inDbExp() before, though. It may automatically assume
    >> the "db:" part, so you might have to omit it.
    >>
    >> mrg
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Apr 07 2009 - 12:44:01 EDT