Re: raw sql with prepared statement/map?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Mar 16 2004 - 10:03:35 EST

  • Next message: Jorge Sopena: "Re: CayenneRunTimeException when it's sent several requests quickly"

    Hi Tore,

    Right now SqlSelectQuery and SqlModifyQuery are somewhat limited now.
    Support for parameters in these queries is coming very soon.

    Andrus

    On Mar 16, 2004, at 9:48 AM, Tore Halset wrote:
    > Hello.
    >
    > I need to execute some raw sql in my application. It is an insert that
    > should happen in the same transaction as some other inserts/updates
    > created by cayenne.
    >
    > SqlSelectQuery looks promising, but is it possible to use
    > PreparedStatements?
    >
    > insert into logtable (userid,message,,,,) values (?,?,?,,,,)
    >
    > - Tore.



    This archive was generated by hypermail 2.0.0 : Tue Mar 16 2004 - 10:03:42 EST