HBM file automatic generation settings

xiaoxiao2021-03-06  20

1. Purpose

Automatic generation in Hibernate, *. HBM.XML file

2 method

Open a Project

Copy the lib folder and build.xml under the XML_Generate directory to the root directory of the above Project

Click File -> New -> Build, double-click on the Ant, click Add, select Build.xml, click OK

Configure the build.xml file:

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Change the "package name" in the XML file to the specific package name.

CONGRATTIITION, ARE U SUCCESSFUL !!!!!!!!!!!!!!!!

转载请注明原文地址:https://www.9cbs.com/read-59631.html

New Post(0)