• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
Hibernate Tools
Reference Guide
Version: 3.2.1.GA
 
iiiPreface ............................................................................................................................. v
1. Download and install Hibernate Tools
......................................................................... 11.1. JBoss Tools ....................................................................................................... 11.2. Eclipse IDE ........................................................................................................ 11.2.1. Usage of Eclipse WTP ............................................................................. 11.3. Ant ..................................................................................................................... 2
2. Code generation architecture
3. Eclipse Plugins
............................................................................................................ 53.1. Introduction ........................................................................................................ 53.2. Creating a Hibernate Mapping File ...................................................................... 53.3. Creating a Hibernate Configuration File ................................................................ 83.4. Creating a Hibernate Console Configuration ....................................................... 103.5. Reverse Engineering and Code Generation ........................................................ 153.5.1. Code Generation Launcher ..................................................................... 153.5.2. Exporters ............................................................................................... 183.6. Hibernate Mappingand Configuration FileEditor ................................................ 193.6.1. Java property/class completion ............................................................... 203.6.2. Table/Column completion ........................................................................ 213.6.3. Configuration property completion ........................................................... 223.7. Structured Hibernate Mapping and Configuration FileEditor ................................. 223.8. Reveng.xml Editor ............................................................................................. 243.9. Hibernate ConsolePerspective .......................................................................... 283.9.1. Viewing theentity structure ..................................................................... 283.9.2. PrototypingQueries ................................................................................ 313.9.3. Properties View ...................................................................................... 333.10. Enable debug logging in the plugins................................................................. 333.10.1. Relevant Resources Links ..................................................................... 34
4. Ant Tools
................................................................................................................... 354.1. Introduction ....................................................................................................... 354.2. The <hibernatetool>Ant Task ............................................................................ 354.2.1. Basic examples ...................................................................................... 374.3. Hibernate Configurations ................................................................................... 374.3.1. Standard Hibernate Configuration (<configuration>) .................................. 384.3.2. Annotation based Configuration (<annotationconfiguration>) ...................... 394.3.3. JPA based configuration (<jpaconfiguration>) ........................................... 404.3.4. JDBC Configuration for reverse engineering (<jdbcconfiguration>) ............. 414.4. Exporters .......................................................................................................... 424.4.1. Database schema exporter (<hbm2ddl>) ................................................. 434.4.2. POJO java code exporter (
<hbm2java>
) .................................................. 444.4.3. Hibernate Mapping files exporter (
<hbm2hbmxml>
) ..................................... 444.4.4. Hibernate Configuration file exporter (
<hbm2cfgxml>
) ............................... 454.4.5. Documentation exporter (
) ...................................................... 46
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...