Generate the Eclipse plug-in for mybatis

Source: Internet
Author: User

1. Download the jar package required by the plug-in and copy it to the \ eclipse \ dropins directory of eclipse. Note that it is not the plugings directory. You can use it when you restart eclipse.

Http://download.csdn.net/detail/kkdelta/4040880

2. How to Use it. Right-click the project and click the menu options shown in the pop-up.

3. Configure the database information in the pop-up interface:

4. After configuration, select the table to be generated and click OK to generate the code.

I would like to thank you for downloading the plug-in from http://www.ibatis3.com.

Another method: http://qiuguo0205.iteye.com/blog/819100 introduces the method of generating code provided by mybatis.

Download the http://download.csdn.net/detail/kkdelta/4201219 from here

Edit generator. xml

Use the Java-jar lib/mybatis-generator-core-1.3.1.jar-configfile generator. XML-overwrite command to generate code.

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.