From: Viktor S. <phr...@im...> - 2002-07-19 14:01:45
|
hi, Gavin_King/Cirrus%CI...@ci... wrote: >***place each class mapping in its own file >Don't use a single monolithic mapping document. Map |com.eg.Foo| in the >file |com/eg/Foo.hbm.xml|. > > > is there any technical advantage to this, or just the easthetic pleasure? :) w/ the automatic xml mapping reloading (i think it came up related to the MBean) it would actually make that less efficient. i was thinking i could help out w/ writing an xDoclet generator for the mapping file, so you can put the mapping directly in you class.... would that make sense? viktor |