Bean Query first version (1.0.0) has been released, bean1.0.0

Source: Internet
Author: User
Tags maven central sonatype

Bean Query first version (1.0.0) has been released, bean1.0.0

BeanQuery is a Java tool library that converts objects to Map. You can select attributes in the Bean to sort the results and query the results by conditions. It can not only act on top-level objects, but also on sub-objects. For more details, see my blog: http://blog.csdn.net/justfly/article/details/40486881

I have just released version 1.0.0. It is now in the Sonatype OSS database and will be synchronized to the Maven central database in 2 hours.

Sonatype OSS Library: https://oss.sonatype.org/content/groups/public/cn/jimmyshi/bean-query/1.0.0/

Github code: https://github.com/Jimmy-Shi/bean-query/tree/bean-query-1.0.0

Reference in Maven Project

<Dependency> <groupId> cn. jimmyshi </groupId> <artifactId> bean-query </artifactId> <version> 1.0.0 </version> </dependency>



Ask Quert query = createQuery (SQL) setResultTransformer (TransformersaliasToBean (Userclass );

Encapsulate the result set as a User object. This facilitates the use of service-layer code.

How to define the execueQuery method of DBBean type

It's not what you mean... Query the database ???

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.