Hibernate
Read navigation
"Hello World" "Hello World" sample program allows you to have a simple understanding of Hibernate. Understand the Hibernate architecture introduces the main features of the Hibernate interface. The core interface hibernate has 5 core interfaces, and the developer can store and obtain a persistent object, and a transaction control is an important term: Typetype is a term invented by Hibernate invented, which is a whole architecture Very found, with a powerful element, a Type object maps a Java type to a field in a database in the database. Strategy Interface Hibernate has a different point-high scalability different from some other open source software, which is implemented through its built-in policy mechanism. Basic configuration Hibernate can be configured to run in any Java environment, generally, it is usually used in a 2-3 layer C / S mode project and is deployed on the server. Creating a sessionFactory object To create a sessionFactory object, you must create an instance of a Configuration class when Hibernate is initialized, and the written mapping file is handed over.