Re: how to add a column

From: Tore Halset (halse..vv.ntnu.no)
Date: Sat Apr 11 2009 - 15:12:38 EDT

  • Next message: Tore Halset: "Re: how to add a column"

    Thanks for the tips, but the problem was that I cloned the DataMap.
    Fooled by my self once again..

    - Tore.

    On 11. april. 2009, at 11.23, Andrus Adamchik wrote:

    > I think ClassDescriptors fails to refresh... Looks like we need to
    > reset it inside EntityResolver.clearCache() (as well as
    > callbackRegistry). Could you experiment with that and commit it if
    > it works?
    >
    > Andrus
    >
    >
    > On Apr 11, 2009, at 1:08 AM, Tore Halset wrote:
    >
    >> Btw. This is all by code in runtime.
    >>
    >> - Tore.
    >>
    >> On Apr 11, 2009, at 0:01, Tore Halset <halse..vv.ntnu.no> wrote:
    >>
    >>> Hello.
    >>>
    >>> I am adding a DbAttribute and a ObjAttribute to the model, but
    >>> there seem to be something missing. getAttribute() on the DbEntity
    >>> and ObjEntity return the correct attributes, but SelectQueries
    >>> does not include the new column. I have tried to create a new
    >>> DataContext and clearing the cache in the EntityResolover, but
    >>> still no luck.
    >>>
    >>> What am I doing wrong?
    >>>
    >>> Regards,
    >>> - Tore.
    >>>
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Sat Apr 11 2009 - 15:13:15 EDT