What Is Persistent Data?

Persistence is a mechanism that transforms program data between persistent and transient states. In simple terms, transient data (such as data in memory that cannot be saved permanently) is persisted into persistent data (such as being persisted in a database and can be stored for a long time).

Persistence

We understand it this way:
Persistence within a certain period is persistence, and persistence is time-dependent.
The data in the database is persistent data, as long as you do not delete or modify it.
Like in
A simple understanding of persistence can be at two levels:
Hibernate
Hibernate provides efficient O / R relationship mapping and query services for applications, and provides a convenient framework for mapping object-oriented domain models to traditional relational databases.
JPA
JPA (Java Persistense API) is a part of EJB3.0. It provides a set of O / R relationship mapping APIs, but it is not limited to EJB. It can also be used in web applications or application clients, and even Used in Java desktop programs.
Mybatis
Mybatis is also an orm framework.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?