2 Replies Latest reply on Feb 2, 2006 5:04 AM by Dan Liu

    how to map entity to multiple tables with same structure

    Dan Liu Apprentice

      For performance reasons, I have 100 tables with same structures. They are fo r example: t_london, t_france, t_liverpool .... If I wanna map them to entity beans. I need to have for example: London.class, France.class, Liverpool.class. Is there any way to map one class to 100 tables. For example, City.class is mapped to t_london, t_france, t_liverpool .... what's the best way to achive this?