In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "which features are supported by Hibernate". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's ideas to study and learn which features are supported by Hibernate.
The Hibernate team has announced a new family member, Hibernate OGM, OGM is an acronym for Object Grid Mapping, whose goal is to try to use JPA to manipulate NoSQL databases, which currently seems to be limited to Infinispan.
Currently supported features:
CRUD operations for entities
Properties with simple (JDK) types
Embeddable objects
Entity hierarchy
Identifier generators (TABLE and all in-memory based generators today)
Optimistic locking
@ ManyToOne, @ OneToOne, @ OneToMany and @ ManyToMany associations
Bi-directional associations
Set, List and Map support for collections
Most Hibernate native APIs (like Session) and JPA APIs (like EntityManager)
Same bootstrap model found in JPA or Hibernate Core: in JPA, set to org.hibernate.ogm.jpa.HibernateOgmPersistence and you're good to go
PS: judging from the current situation, popular MongoDB and so on are not supported. Compared with DataNucleus (http://www.datanucleus.org) in Backend storage technology, DataNucleus supports JDO,JPA standard and supports almost all popular storage methods at present. Google APPEngine is also based on DataNucleus.
The following is 51CTO's translation of the features, please correct:
Support for entity CRUD operations
Attributes of simple (JDK) types are supported
Support for embedded objects
Support entity hierarchy
Support for identifier generators (current tables and memory-based generators)
Optimistic locks are supported
Support @ many-to-one, @ one-to-one, @ one-to-many, @ many-to-many associations
Support two-way association
Support for arrays, lists, and drawing collections
Support the most Hibernate raw APIs (like Session) and JPA APIs (like EntityManager)
Support the same boot mode discovery in JPA or Hibernate Core: in JPA, set to org.hibernate.ogm.jpa.HibernateOgmPersistence and you're good to go
Thank you for your reading, the above is the content of "what features does Hibernate support". After the study of this article, I believe you have a deeper understanding of which features Hibernate supports, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.