java - Associate multiple class mappings with a given context map id -


i specifying mappings dozer following code shows error java.lang.illegalargumentexception: duplicate map id's found.. understand wrong want have 1 set of mappings admin context , user context. can't done? have write dogadmin, catadmin etc map-id?

<mapping map-id="admin">     <class-a>cat</class-a>     <class-b>catview</class-b>     <field>         <a>name</a>         <b>firstname</b>     </field> </mapping>  <mapping map-id="admin">     <class-a>dog</class-a>     <class-b>dogview</class-b>     <field>         <a>name</a>         <b>firstname</b>     </field> </mapping> 

unfortunatelly, can't that, tried too.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -