Review Java persistence (2) practices

Source: Internet
Author: User

Recently I am writing a small project, and the preliminary framework has been set up. I sorted it out yesterday and removed some code, leaving the code that can illustrate the problem, so that readers can understand it.

1. Simple example of using DMIS-JHibernate.jar framework

2. DMIS-JHibernate.jar is still to be improved, here is only for demonstration.

3. DMIS-WEB project is I intend to write a management platform, the same as above, here is just a childish. Describe the problem.

4. features include addition, deletion, modification, query, paging, and other basic operations

5. Currently, only oracle databases are supported. If you want to change the database, modify the DMIS-JHibernate.jar source code as appropriate. (For the source code, see review Java persistence 1-persistence.)

6. The source code contains images of different styles to support skin replacement. If you are interested, modify the settings. Com. dmis. resource. Constant. STYLE = "green"

7. Directly after deployment, for example, my local address: http: // 127.0.0.1: 8082/web

For specific code, see the attachment (the referenced jar contains the struct1.2 package and ojdbc. jar ). For more information, see.

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/122K553K-0.jpg "/> 650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/122K55316-1.jpg "/>

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/122K53030-2.jpg "/>

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/122K525c-3.jpg "/>

Editor's note: as a developer, if you have time, try to write a framework as much as possible!

This article is from the "aike" blog, please be sure to keep this source http://jrunner.blog.51cto.com/1015356/931393

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.