May 17, 2021 07:00 0 Comment Hibernate
Hibernate tutorial, Hibernate tutorial, Suitable for people, Learning prerequisites, Version information, Hibernate tutorial, Hibernate is a high-performance object-relationship persistent storage and query service that follows the open source GNU Lesser G
May 17, 2021 07:00 0 Comment Hibernate
ORM overview, ORM overview, What is JDBC?, The advantages and disadvantages of JDBC, Why Object Relationship Mapping (ORM)?, What is ORM?, Java ORM framework, ORM overview, What is JDBC?, JDBC stands for, Java Database Connectivity,, a Java program that provides a set of Java APIs to access the relationship
May 17, 2021 07:00 0 Comment Hibernate
Brief introduction, Brief introduction, Hibernate advantage, The supported database, Supported technologies, Brief introduction, Hibernate is an open source object relationship framework created by Gavin King in 2001., It is powerful and efficient to build Ja
May 17, 2021 08:00 0 Comment Hibernate
Architecture, Architecture, Configure the object, SessionFactory object, Session object, Transaction object, The Query object, Criteria object, Architecture, The Hibernate schema is hierarchical, and as a data access layer, you don't have to know the underlying API., Hibernate leverages databa
May 17, 2021 08:00 0 Comment Hibernate
Environment, Environment, Download Hibernate, Install Hibernate, Hibernate's premise, Environment, This section will show you how to install hibernate apps and some other related packages in order to prepare the development environment
May 17, 2021 08:00 0 Comment Hibernate
Configuration, Configuration, Hibernate property, Hibernate and MySQL databases, Configuration, Hibernate needs to know in advance where to find mapping information that defines how Java classes are associated with database tables.
May 17, 2021 08:00 0 Comment Hibernate
Session, Session, Session interface method, Session, Session is used to obtain a physical connection to the database. S, ession objects are lightweight and are designed to be instantiated each t
May 17, 2021 08:00 0 Comment Hibernate
Persistence class, Persistence class, A simple example of POJO, Persistence class, The complete concept of Hibernate is to extract values from Java class properties and save them to the database form., Mapping file
May 17, 2021 08:00 0 Comment Hibernate
Map the file, Map the file, Map the file, An object/relationship map is generally defined in an XML file. T, he mapping file indicates how Hibernate corresponds a defined class o
May 17, 2021 08:00 0 Comment Hibernate
The type of map, The type of map, The original type, The date and time type, Binary and large data objects, JDK-related type, The type of map, When you prepare a Hibernate mapping file, we've seen you map Java data types to the RDBMS data format. T, he types that have been, d
May 17, 2021 08:00 0 Comment Hibernate
Example, Example, Create a POJO class, Create a database table, Create a mapping profile, Create an application class, Compilation and execution, Example, Let's look at an example of a stand-alone application that leverages Hibernate to provide Java persistence. W, e'll create a Java application
May 17, 2021 08:00 0 Comment Hibernate
O/R mapping, O/R mapping, Collection mapping, The association map, Component mapping, O/R mapping, So far we've seen very basic O/R mapping by applying Hibernate, but there are three more important topics related to mapping that we need
May 17, 2021 08:00 0 Comment Hibernate
Comments, Comments, The environment settings for Hibernate comments, An example of a comment class, @Entity comment, @Table comment, @Id and @GeneratedValue comments, @Column Annotation, Create an app class, The database configuration, Compilation and execution, Comments, So far, you've seen how Hibernate uses XML mapping files to complete data transformations from POJO to database tables, and vice versa. H, i
May 17, 2021 09:00 0 Comment Hibernate
The query language, The query language, From statement, As statement, SELECT statement, Where statement, ORDER BY statement, GROUP BY statement, Use named parameters, UPDATE statement, DELETE statement, INSERT statement, The aggregation method, Use peddle queries, The query language, Hibernate Query Language (HQL) is an object-oriented query language, similar to SQL, but not to manipulate tables and columns, but
May 17, 2021 09:00 0 Comment Hibernate
Standard query, Standard query, Limitations on standards, Page-using standards, Sort the results, Prediction and aggregation, An example of a standard query, Compilation and execution, Standard query, Hibernate provides an alternative way to manipulate objects and the data available in the corresponding RDBMS tables. O, ne approach i