Hibernate Team |
|
Joined: Tue Aug 26, 2003 6:10 am Posts: 8615 Location: Neuchatel, Switzerland (Danish)
|
depends - mostly a manner of personal taste.
hbm.xml to java - use hibernate tools, developed/supported by the hibernate team, requires some tweaking if you want to add code into the pojo's BUT it is possible and supported.
xdoclet to hbm.xml - use doclet, *not* actively developed/supported by the hibernate team, does *not* support all hibernate3 features.
You forget one alternative and that is to use Hibernate Annotations; removing any need for code generation of the beans and still allowing you to generate other code via the hibernate tools.
_________________ Max
Don't forget to rate
|
|