Re: EntityResolver without DataConext

From: Mike Kienenberger (mkienen..laska.net)
Date: Wed Mar 23 2005 - 09:07:03 EST

  • Next message: Cris Daniluk: "RE: Extended types"

    Kevin Menard <kmenar..ervprise.com> wrote:
    > What's the best way to get an EntityResolver reference without a
    > DataContext? I'd like to be able to lookup an entity's object attributes,
    > but don't have a DC laying around to use. Likewise, I don't want to have
    to
    > try and set up the ER manually. Any thoughts on this?

    DataNode has getEntityResolver(), as does DataDomain.

            Iterator dataNodeIterator =
    Configuration.getSharedConfiguration().getDomain().getDataNodes().iterator();
            while (dataNodeIterator.hasNext())
            {
                DataNode dataNode = (DataNode) dataNodeIterator.next();
                    }



    This archive was generated by hypermail 2.0.0 : Wed Mar 23 2005 - 09:05:54 EST