Re: PermIds and the new ContextCommit

From: Andriy Shapochka (ashapochk..otmail.com)
Date: Tue Mar 11 2003 - 16:53:02 EST

  • Next message: Craig Miskell: "Re: PermIds and the new ContextCommit"

    > to have in DataContext? The code is nearly identical (the PKGSupport
    > method appears slightly more complex... probably good reason :-)), and
    > createPermId is only used by a couple of tests.
    >
    > Should createPermId be deprecated and implemented in terms of
    > PKGSupport.createPermIdsForObjEntity() ?
    >
    > Craig
    >

    Maybe, we should remove the method from DataContext altogether. Are there
    any realistic scenarios when a Cayenne user can desire to create primary ids
    manually with DataContext.createPermId(...)? It looks very internal thing to
    me.

    Andriy.



    This archive was generated by hypermail 2.0.0 : Tue Mar 11 2003 - 16:52:09 EST