Play! Whether the framework is on play or whether it is on play

Source: Internet
Author: User

Play! Framework has been used for almost half a year, and tomacat has been used. However, the biggest problem with play is that native SQL cannot be executed, and the most common way is to return a data source for its own iteration.

If the result of renderjson execution is not encapsulated, you need to create a model for the SQL statement to operate. If the SQL statement is complex, you need to consider the view.

So that at the beginning of the design, we designed a lot of scattered tables. In actual work, we needed a lot of Join Operations, so we had to create a lot of views.

In addition to view, the other method is to execute the stored procedure. This requires more powerful SQL technology.

As for other aspects, play is indeed very powerful. dynamic compilation has saved all kinds of routing ing template systems, such as JPA.

When you use it, skip the pitfall and play is still beautiful.

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.