To all OJB gurus: First of all this may not be a limitation on OJB what I have wrote as subject but it seems that there is no easy way to handle this.
Here is my problem : I like to write a repository XML file [ please note a single repository file for each case] which captures the following conditions : I have a set of Databases/data sources = { Da, Db , Dc, ...., Dn } And I have a set of class-descrptors = { { a1, a2, a3 ....,ax}, {b1, b2, b3, ....,by}, ::::::::::::::::::: {n1, n2, n3, ....,nz}} I want to map -> Class Descriptors ->{ a1,a2,::::,ax} to be mapped to [Da] { b1,b2,::::,by} to be mapped to [Db] { c1,c2,::::,cw} to be mapped to [Dc] ::::::::::::::::::::::::::: { n1,n2,::::,nx} to be mapped to [Dn] Case A: Set (a)i and Set (b)j are disjoint. That is: any ai != bj where i= 1,2...x And j= 1,2,...y Case B: Set (a)i and Set (b)j are intersect each other. That is: may be ai == bj where i= 1,2...x And j= 1,2,...y Has anybody did this before? If this can not be done in a single repository xml ...is there any way it can be worked around? Thanks Ajitesh