FAQ
Hi,

is it possible with cayenne 4.0 to use a dynamic data map?

I have following requirement:

I have a db scheme that is fix for all users.
I habe a second dynamic scheme where the entities are equal, just the
scheme names is dynamic?

regards
Meex

Search Discussions

  • Aristedes Maniatis at Apr 26, 2015 at 11:58 pm
    Something like:

    for (DbEntity dbEntity : dataMap.getDbEntities()) {
        dbEntity.setSchema(schema);
    }
    On 27/04/2015 7:35am, Markus Reich wrote:
    Hi,

    is it possible with cayenne 4.0 to use a dynamic data map?

    I have following requirement:

    I have a db scheme that is fix for all users.
    I habe a second dynamic scheme where the entities are equal, just the
    scheme names is dynamic?

    regards
    Meex
    --
    -------------------------->
    Aristedes Maniatis
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
  • Markus Reich at Apr 27, 2015 at 7:59 pm
    looks good, how to I get the dataMap?
    I have two Maps in my Configuration?

    2015-04-27 1:55 GMT+02:00 Aristedes Maniatis <ari@maniatis.org>:
    Something like:

    for (DbEntity dbEntity : dataMap.getDbEntities()) {
    dbEntity.setSchema(schema);
    }
    On 27/04/2015 7:35am, Markus Reich wrote:
    Hi,

    is it possible with cayenne 4.0 to use a dynamic data map?

    I have following requirement:

    I have a db scheme that is fix for all users.
    I habe a second dynamic scheme where the entities are equal, just the
    scheme names is dynamic?

    regards
    Meex
    --
    -------------------------->
    Aristedes Maniatis
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A


    --
    *Markus Reich*
    Waldweg 62
    6393 St. Ulrich am Pillersee
    www.markusreich.at / www.meeximum.at
    markus.reich@markusreich.at
  • Aristedes Maniatis at Apr 27, 2015 at 10:21 pm

    On 28/04/2015 5:57am, Markus Reich wrote:
    looks good, how to I get the dataMap?
    I have two Maps in my Configuration?
    ObjectContext -> EntityResolver -> DataMaps

    --
    -------------------------->
    Aristedes Maniatis
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
  • Markus Reich at Apr 28, 2015 at 5:15 am
    PERFECT!

    thx

    2015-04-28 0:18 GMT+02:00 Aristedes Maniatis <ari@maniatis.org>:
    On 28/04/2015 5:57am, Markus Reich wrote:
    looks good, how to I get the dataMap?
    I have two Maps in my Configuration?
    ObjectContext -> EntityResolver -> DataMaps

    --
    -------------------------->
    Aristedes Maniatis
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A


    --
    *Markus Reich*
    Waldweg 62
    6393 St. Ulrich am Pillersee
    www.markusreich.at / www.meeximum.at
    markus.reich@markusreich.at

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categoriescayenne
postedApr 26, '15 at 9:37p
activeApr 28, '15 at 5:15a
posts5
users2
websitecayenne.apache.org

People

Translate

site design / logo © 2021 Grokbase