1) Installing Gradle,gradle is a maven-like build tool
2) Install the git client.
Clone the source code from the URL https://github.com/hibernate/hibernate-orm
3) The command line enters the local hibernate-orm directory and executes the gradlew.bat Eclipse Command, which will be built.
Solutions to problems that occur when compiling
1.java.lang.outofmemoryerror:java Heap Space
Enter the gradlew.bat file in the hibernate-orm directory to adjust the maximum allocated memory size for the heap.
@rem the ADD default JVM options here. You can also with java_opts and gradle_opts to pass the JVM options to this script.
Set default_jvm_opts= "-xmx1024m"
2.CORE\SRC\MAIN\ORG\HIBERNATE\ANNOTATIONS\SQLDELETE.JAVA:37: Error: Encoding GBK non-mapped characters
Need to go to the Control Panel, modify the regional language inside-admin-change the system locale to English (United Kingdom)
Compiling hibernate source code