Week four Homework _2013551605

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.