--- Mark Lowe <[EMAIL PROTECTED]> wrote: > > 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.
Yes, it can do this. You can have just one file and load it with : Configuration cfg = new Configuration().addResource(); > > 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. > This is not an option. > > 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. > Maybe there are a simpler solution for this. I am newbie on Hibernate. __________________________________ 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
