Online database tables (SQL statements) Generate Java entity class tools

Source: Internet
Author: User

It is believed that every reader of Java development has been exposed to SQL build statements, especially in the early stages of project development, because the database is the cornerstone of the project.

In modern project development, there are many ORM frameworks that can interact with the database through simple entity mapping, but we originally designed the database table structure, not the entity class. The entity class is only lossy compression of the underlying data structure, it is only the carrier, and does not have the ability of data archiving.

So, a lot of times, we need to convert the original SQL statement into Java entity class, this work seems simple, but if done manually, the workload is considerable, and inevitably error.

So far, I have not found the more reliable tools, they are either cumbersome, or poor flexibility, so it is time to build wheels!

Online database table (SQL statement) Generation Java Entity Class tool is the author of an online conversion tool, just fill in the SQL statement, and then adjust the appropriate configuration, one-click to complete the conversion.

At first glance, an online database table (SQL statement) generates a bewildering array of configuration items for the Java Entity Class tool, in fact only a small part is required, and most of the configuration items are designed to meet more personalized requirements.

If the conversion succeeds, the reader will get a zip package containing all of the entity class (. java) files, which in theory can be copied directly into the project, and if the conversion fails, the reader will get a false hint that it may not help the reader, but it does happen.

Finally, it is necessary to note that the Java entity class generated by this tool is a pure entity class that only maps data and does not involve correlation, so it is naturally applicable to MyBatis. For the bloated procrastination of hibernate, only regret to say sorry, this tool is definitely not recommended in the entity class to express the association relationship.

For specific use methods, see:

Online database tables (SQL statements) Generate Java Entity class Tools user manual

Online database tables (SQL statements) Generate Java entity class tools through train

Online database tables (SQL statements) Generate Java entity class tools

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.