But I want to create only one hibernate mapping
file, and not one .hbm.xml mapping file for each
class.

I could be off mark here, but thats what xdoclet is for, getting around the problem of having multiple disparate resources. I doubt hibernate supports having a single mapping file, but I'd ask this question on the hibernate forum before seeing whether xdoclet can do it, otherwise it would be wasted effort.


I guess you could try having a huge empty *.java file and having all the tags in there. But it would defeat the object of adding significance to the java classes by way of having them tagged.

  I was reading this list archive but I can not find a
solution for this problem.

Not sure there is a problem to be solved.


HTH Mark

On 24 Mar 2004, at 02:22, Andre Selton wrote:

Hi,

  I am using xdoclet to create my mappings files.
  It is working.

  But I want to create only one hibernate mapping
file, and not one .hbm.xml mapping file for each
class.

  I was reading this list archive but I can not find a
solution for this problem.

Thanks.

Andre Selton



__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to