You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Markus Reich <ma...@markusreich.at> on 2015/04/26 23:35:26 UTC
cayenne 4.0
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
Re: cayenne 4.0
Posted by Markus Reich <ma...@markusreich.at>.
PERFECT!
thx
2015-04-28 0:18 GMT+02:00 Aristedes Maniatis <ar...@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
Re: cayenne 4.0
Posted by Aristedes Maniatis <ar...@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
Re: cayenne 4.0
Posted by Markus Reich <ma...@markusreich.at>.
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 <ar...@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
Re: cayenne 4.0
Posted by Aristedes Maniatis <ar...@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