executing raw sql

From: martin ruff (mruf..imeon.ch)
Date: Thu Apr 17 2003 - 12:47:24 EDT

  • Next message: Andrus Adamchik: "Re: executing raw sql"

    Hi,
    We're using cayenne
    we have a memory and performance problem for a certain special cas
    therefore
    I like to execute a sql command i.e. INSERT INTO cm_user_group
    (user_group_id, group_id, user_id) VALUES (1, 3, 100) instead of
                                    CmUserGroup newusergroupentry =
    (CmUserGroup)ctxt.createAndRegisterNewObject("CmUserGroup");
                                    newusergroupentry.setToGroup(cmgroup);
                                    newusergroupentry.setToUser(cmuser);

    how can I do that with cayenne, using the datacontext?
    thanks for help
    martin



    This archive was generated by hypermail 2.0.0 : Thu Apr 17 2003 - 12:53:02 EDT