Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Hibernate-OGM Overview v 1.0
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sunghyouk Bae (Debop)
June 08, 2013
Programming
2
5.1k
Hibernate-OGM Overview v 1.0
Hibernate-OGM v 4.0 Overview
with Infinispan
Sunghyouk Bae (Debop)
June 08, 2013
Tweet
Share
More Decks by Sunghyouk Bae (Debop)
See All by Sunghyouk Bae (Debop)
Exposed 1.1.1 소개
debop
0
49
Alternatives to JPA 2026
debop
0
69
Java 21/25 Virtual Threads 소개
debop
0
310
Cache Strategies with Redisson & Exposed R2dbc
debop
0
140
Cache Strategies with Redisson & Exposed
debop
0
210
Alternatives to JPA (Async/Non-Blocking) 2025
debop
0
130
Virtual Threads 소개 2025
debop
0
85
MSA Resilient 2025
debop
0
60
Alternatives to JPA 2018 - JDBC Based
debop
0
49
Other Decks in Programming
See All in Programming
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
250
Smarter Angular mit Transformers.js & Prompt API
christianliebel
PRO
1
100
へんな働き方
yusukebe
6
2.9k
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.2k
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
280
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.6k
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
570
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
300
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
130
Claude Codeログ基盤の構築
giginet
PRO
7
3.8k
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
200
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
180
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
260
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
sira's awesome portfolio website redesign presentation
elsirapls
0
200
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
110
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Docker and Python
trallard
47
3.8k
Fireside Chat
paigeccino
42
3.9k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
150
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
150
How to train your dragon (web standard)
notwaldorf
97
6.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Transcript
hibernate-ogm overview
[email protected]
@debop68 1 13֙ 6ਘ 9ੌ ੌਃੌ
Hibernate-OGM Object / Grid Mapping Hibernate for NoSQL Current support
Datastore - EhCache, Infinispan, MongoDB 앞으로 제공할 Datastore - Redis, Couchbase, Neo4j 2 13֙ 6ਘ 9ੌ ੌਃੌ
Relational Databases Data structure abstraction Transactions Referential integrity Simple types
Common query language Scale up (not Scale out) 3 13֙ 6ਘ 9ੌ ੌਃੌ
Why NoSQL 대량의 데이터 저장 저장할 데이터 량이 기하급수적으로 증대
RDB의 scale-up 만으로는 한계 웹 서비스의 구조 변화 데이터의 구조 변화가 큼 비정형 데이터의 관리 필요 Cloud 환경에 맞는 자료저장소 필요 scale-out 기능 강조 Operation 비용 절감 4 13֙ 6ਘ 9ੌ ੌਃੌ
NoSQL Features 대량의 데이터 다양한 구조 다양한 목표 data size
/ availability low latency / higher throughput 특정 사용 패턴에 최적화 다양한 자료 구조 5 13֙ 6ਘ 9ੌ ੌਃੌ
NoSQL Types Graph oriented databases key-value stores Document based stores
Big Table style 6 13֙ 6ਘ 9ੌ ੌਃੌ
NoSQL 약점 Programming Model no common API query (Map Reduce,
specific DSL, ...) no schema => app driven schema Physical data structure transpires Transaction/durability/consistency 7 13֙ 6ਘ 9ੌ ੌਃੌ
JPA for NoSQL 8 13֙ 6ਘ 9ੌ ੌਃੌ
Goals 새로운 데이터 사용 패턴을 쉽게 사용하도록한다. 데이터 크기, 종류,
형태에 상관없이... Full JPA support 익숙한 환경, 빠른 적용 9 13֙ 6ਘ 9ੌ ੌਃੌ
Hibernate-OGM Hibernate-ogm 4.0 CRUD support for @Entity EhCache, Infinispan, MongoDB
Full-text queries (hibernate-search) Future JP-QL query Neo4j, Cassandra, Couchbase, HBase, Redis https://community.jboss.org/wiki/HibernateOGMRoadmap 10 13֙ 6ਘ 9ੌ ੌਃੌ
Domain Model POJO Hibernate Core JPA: programmatic API Hibernate Search
persists indexes/searches Infinispan Lucene Search engine store index indexing store object RDBMS 11 13֙ 6ਘ 9ੌ ੌਃੌ
Domain Model POJO Hibernate Core JPA: programmatic API Hibernate Search
persists indexes/searches Infinispan Lucene Search engine store index indexing store object 12 13֙ 6ਘ 9ੌ ੌਃੌ
Domain Model POJO Hibernate Core JPA: programmatic API Hibernate Search
persists indexes/searches Infinispan EhCache MongoDB Lucene Search engine NoSQL store index indexing store object 13 13֙ 6ਘ 9ੌ ੌਃੌ
Domain Model POJO Hibernate Core JPA: programmatic API Hibernate Search
Hibernate OGM Core JP-QL converter persists indexes/searches Infinispan EhCache MongoDB Lucene Search engine NoSQL store object store index delegates object logic to indexing 14 13֙ 6ਘ 9ੌ ੌਃੌ
Domain Model POJO Hibernate Core JPA: programmatic API Hibernate Search
Hibernate OGM Core JP-QL converter persists indexes/searches Infinispan EhCache MongoDB Lucene Search engine NoSQL store object store index delegates object logic to Object/Grid Mapper indexing 15 13֙ 6ਘ 9ੌ ੌਃੌ
Domain Model POJO Hibernate Core JPA: programmatic API Hibernate Search
Hibernate OGM Core JP-QL converter persists indexes/searches Infinispan EhCache MongoDB Lucene Search engine NoSQL DataStore store object store index delegates object logic to Object/Grid Mapper indexing 16 13֙ 6ਘ 9ੌ ੌਃੌ
Hibernate-OGM Concept 17 13֙ 6ਘ 9ੌ ੌਃੌ
Schema or no schema? Schema-less developer friendly data structure migration?
need strict development guidelines Schema strong documentation share with other apps / tooling 18 13֙ 6ਘ 9ੌ ੌਃੌ
Entities as serializable blobs? Store the whole graph? Consistency with
duplicated objects Concurrency / Latency Structure change and (de)serialization 19 13֙ 6ਘ 9ੌ ੌਃੌ
OGM’s approach 관계형 모델의 장점은 최대한 수용 객체와 데이터 구조의
관계를 끊음 데이터는 tuple 형태로 저장 기본 수형으로 제한 CRUD 작업은 key lookup 으로 작업 20 13֙ 6ਘ 9ੌ ੌਃੌ
Infinispan In-memory key/value store + cache store Data grid memory
>>>> network >> local disk access Transaction JTA / XAResource Distributed virtual memory = (servers) / redundancy 21 13֙ 6ਘ 9ੌ ੌਃੌ