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