[Original] Hibernate automatic generation (2) Hibernate automatic generation (2)

This actual combat is the first time for bloggers to learn Java and analyze the WCP source code, and learn the actual combat of HibernateTools. Due to the first contact, mistakes are inevitable. It is for reference only, and I hope to criticize and correct. 

Development environment: Eclipse Version: Photon Milestone 6

WCP:http://www.wcpdoc.com/home/Pubindex.html

 

content:

Hibernate auto-generated (1)

Hibernate auto-generated (2)

 

 

In the first part, the entity object has been generated, and now we are officially using it.

1. Refactor and rename the test project, wcp-tpmember, build the package com.farm.member.Dao

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325154157&siteId=291194637
Recommended