1. Relationship Mapping for Hibernate
Hibernate relationship mapping can be done through configuration files and annotations in two ways. After designing the relational tables of the database, it is possible to automatically generate entity classes directly through MyEclipse, which can save development time (which is a great advantage of myeclipse).
2, about the compilation and anti-compilation of files
Often we need to modify the imported third-party package, and the third-party package is stored in the compiled class file, you need to use the Anti-compilation tool to decompile the file, it is recommended to use the Java Anti-compilation tool: Jgui http://pan.baidu.com/s/ 1O6XCTSQ, it is not recommended to use the small-ying Anti-compilation tool (do not know why so many people recommend, anyway I feel bad use), the Java file is modified, the use of JAVAC command recompile, and finally will modify the generated class file, Replace the corresponding class file in the jar unzip directory and repackage the build jar. We can use the Jar command to package (Execute Jar CVF Filename.jar foldername after entering the directory)
Week four Homework _2013551605