Part step one. Setting-up a keen annotations project

Part step one. Setting-up a keen annotations project

Hibernate, as with any other target/relational mapping equipment, requires metadata one to controls new sales of data in one logo to another. Hibernate Annotations brings annotation-centered mapping metadata.

The brand new JPA requirements knows the attention in addition to success of the latest transparent target/relational mapping paradigm. It standardizes the basic APIs as well as the metadata you’ll need for one object/relational perseverance procedure. Hibernate EntityManager executes the latest programming interfaces and lifecycle laws because the defined by JPA work requirements and as well as Hibernate Annotations now offers an entire (and stand alone) JPA perseverance services in addition mature Hibernate Center. You may use a variety of all the around three with her, annotations instead of JPA programming interfaces and you can lifecycle, otherwise natural local Hibernate Center, with respect to the providers and you will technical requires of your own venture. After all go out you could potentially slip back to Hibernate native APIs, or if perhaps expected, even to indigenous JDBC and you may SQL.

So it release of Hibernate Annotations is founded on the past launch of your own JPA dos requirements (aka JSR-317) and you will supporting the its enjoys (like the recommended of these).

Читать далее