xdoclet « HBM « JPA Q&A





1. Issue with maven ant plugin for generating hbm files in hibernate using Xdoclet    stackoverflow.com

I am trying to generate hbm files using ant task with maven, however it's running into issues related to classpath. (I am doing this to migrate the project from ant to ...

3. How to get only one .hbm.xml file with XDOCLET?    forum.hibernate.org

Hi all, I'm trying to use xdoclet with hibernate, and I woud like to have one single .hbm.xml file, instead of one file per class. For instance, I prefer: myapp.hbm.xml instead of Customer.hbm.xml Purchase.hbm.xml ... The reason is becuase in my JBOSS configuration, i have mappings/myapp.hbm.xml I have tried with wildcards, *.hbm.xml, but it does not work. So how can ...

4. XDoclet: No hbm.xml file generated [newbie]    forum.hibernate.org

The XDoclet tool is not generating the hbm.xml files. Here is what I did: I downloaded xdoclet-1.2.2-SNAPSHOT In my src foler, I put the: xdoclet-1.2.2-SNAPSHOT\docs\ant\xdoclet folder so now there's an src\xdoclet folder In my lib directory I created a folde called xdoclet and in it I put the *.jar files from the xdoclet-1.2.2-SNAPSHOT\lib folder. In my classpath I included the tools.jar ...

5. hbm2java vs XDoclet    forum.hibernate.org

all, i am starting a new project with new db schema, no legacy data. i have two choices on how to keep hbm mapping files and java class files in sync: 1) write all the hibernate mappings in hbm file and generate Java class files using hbm2java. if i need customized behavior, i can always subclass the generated java class. (it ...