awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
hibernate avatar

hibernate/hibernate-orm

0
View on GitHub↗
6,447 星标·3,782 分支·Java·Apache-2.0·10 次浏览hibernate.org↗

Hibernate Orm

Hibernate ORM 是一个 Java 对象关系映射器,也是 Jakarta Persistence API 的完整实现。它作为 SQL 数据库抽象层,将 Java 对象模型转换为关系数据库模式,以管理数据持久化和生命周期。

该框架以其多租户数据隔离框架而著称,可在单个数据库实例中分离客户数据。它还具有数据库模式生成器,可根据实体映射自动生成和更新关系结构。

该系统涵盖了广泛的功能领域,包括事务管理、并发锁定控制以及用于审计日志的时间数据跟踪。它通过实体图策略提供数据获取优化工具,并支持向量数据和国家化字符等高级数据类型。

该项目包含一套全面的持久层测试工具,包括数据库方言过滤和规范合规性测试。

Features

  • Object-Relational Mapping - Translates Java object-oriented domain models into relational database tables to manage data persistence and retrieval.
  • Persistence Unit Managers - Provides a system for defining entity collections and connectivity settings via persistence unit configurations.
  • Persistence State Tracking - Compares object snapshots against loaded states to automatically generate minimal SQL update statements during flush.
  • Database Abstraction Layers - Provides a unified API for interacting with multiple database engines and SQL dialects.
  • Data Tenant Isolators - Separates data for different customers using schema mapping and credential management within a single database instance.
  • Complex Querying Techniques - Provides expressive query languages to handle intricate data retrieval requirements including aggregations and joins.
  • Database Transaction Management - Ensures data integrity and consistency by enforcing ACID properties through programmatic transaction boundary control.
  • Write-Behind Change Tracking - Tracks modifications made to objects in memory and automatically persists those changes to the underlying database.
  • Lazy Loading Patterns - Defers the retrieval of related data from the database until the object is explicitly accessed.
  • First-Level Caching - Maintains a session-scoped map of entity identifiers to object instances to ensure referential integrity.
  • Object-Relational Mappers - Implements a framework that translates Java object models into relational database schemas to manage data persistence.
  • Dialect-Specific SQL Generation - Translates abstract query trees into vendor-specific SQL strings to support multiple database dialects.
  • Multi-Backend SQL Abstractions - Provides a persistence layer that abstracts multiple SQL dialects to ensure database portability.
  • Entity Mapping Metadata - Defines object-relational relationships using metadata derived from Java annotations or XML configurations.
  • Persistence API Implementations - Provides a full implementation of the Jakarta Persistence API (JPA) for managing data between Java applications and databases.
  • Multi-tenancy Isolation - Implements architectural strategies for ensuring secure data separation between customers in shared database instances.
  • Automated Schema Evolution - Automatically generates and updates database tables and constraints based on application domain models.
  • Data Fetching Optimizations - Implements techniques for optimizing how related entities are retrieved to minimize database round-trips.
  • Data Revision Tracking - Maintains historical versions of entities using global revision numbers to enable auditing and data recovery.
  • Physical Schema Exports - Provides utilities to generate physical tables, sequences, and constraints based on entity mappings.
  • Schema Generators - Automatically generates physical database schemas from application-level entity mappings.
  • Lifecycle Merge Operations - Manages object lifecycles through merge operations, entity refreshing, and cascading database operations.
  • Persistence Performance Tunings - Offers a set of tools to tune data access patterns and caching strategies to improve retrieval speeds.
  • Entity Graph Fetching - Provides strategies for defining sets of attributes to be retrieved in a single query to minimize database round-trips.
  • Traffic Routing - Implements logic to distribute database requests between read and write replicas to improve scalability.
  • DDL Script Generators - Analyzes entity metadata to produce DDL scripts that automatically align the database structure with the domain model.
  • Database Schema Scripting - Generates SQL DDL scripts to automatically create or update the relational database structure based on model changes.
  • Row-Level Security - Provides capabilities to restrict access to individual data records based on user identity or permissions.
  • Database Concurrency Control - Implements locking scopes and timeout configurations to manage concurrent access to database records.
  • Data Modification Auditing - Tracks modifications to data over time by handling temporal data and maintaining a history of changes.
  • Data Layer Testing - Provides a comprehensive set of specialized annotations and utilities for verifying data persistence and retrieval logic.
  • Specification Compliance Testing - Provides a tool to run standardized test suites to confirm a database adheres to industry specifications.
  • Object Relational Mapping - Core object-relational mapping functionality for Java.
  • Persistence Frameworks - Mature object-relational mapping framework for Java.

Star 历史

hibernate/hibernate-orm 的 Star 历史图表hibernate/hibernate-orm 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Hibernate Orm 的开源替代方案

相似的开源项目,按与 Hibernate Orm 的功能重合度排序。
  • doctrine/ormdoctrine 的头像

    doctrine/orm

    10,172在 GitHub 上查看↗

    Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It uses the data mapper and identity map patterns to decouple the in-memory object model from the database schema, allowing developers to manage data persistence without writing manual SQL. The project features a dedicated object-oriented query language and programmatic builder for retrieving data based on entities rather than tables. It implements a unit-of-work system to track object changes during a request and synchronize them via atomic transactions. The capability surface inc

    PHPhacktoberfest
    在 GitHub 上查看↗10,172
  • go-gorm/gormgo-gorm 的头像

    go-gorm/gorm

    39,798在 GitHub 上查看↗

    GORM is a developer-focused object-relational mapping library for Go that provides a comprehensive data persistence framework. It serves as a database access layer, allowing developers to map application structures to database tables and perform CRUD operations using a fluent, type-safe query builder instead of writing raw SQL. The library distinguishes itself through its association-aware persistence, which automatically tracks and synchronizes complex entity relationships during database operations. It utilizes a driver-agnostic interface to maintain consistent behavior across various stora

    Gogogolanggorm
    在 GitHub 上查看↗39,798
  • dotnet/efcoredotnet 的头像

    dotnet/efcore

    14,587在 GitHub 上查看↗

    Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using strongly-typed code. It serves as a comprehensive data access framework, providing a unified interface for mapping application objects to relational and non-relational database schemas while managing the lifecycle of data operations through a central context. The project distinguishes itself through a provider-based architecture that decouples core data access logic from specific database engines, allowing for consistent interaction across diverse storage systems. It features a

    C#aspnet-productc-sharpdatabase
    在 GitHub 上查看↗14,587
  • go-gorp/gorpgo-gorp 的头像

    go-gorp/gorp

    3,751在 GitHub 上查看↗

    Gorp is a lightweight object-relational mapper for Go that binds structs to relational database tables. It functions as a relational data mapper and SQL dialect abstraction layer, automating the translation between application data and relational rows. The project provides a translation layer that generates vendor-specific SQL for PostgreSQL, MySQL, SQLite, Oracle, and SQL Server. It distinguishes itself by implementing optimistic locking via version columns to prevent concurrent update conflicts and providing a database schema generator to create tables and indexes from object definitions.

    Go
    在 GitHub 上查看↗3,751
查看 Hibernate Orm 的所有 30 个替代方案→

常见问题解答

hibernate/hibernate-orm 是做什么的?

Hibernate ORM 是一个 Java 对象关系映射器,也是 Jakarta Persistence API 的完整实现。它作为 SQL 数据库抽象层,将 Java 对象模型转换为关系数据库模式,以管理数据持久化和生命周期。

hibernate/hibernate-orm 的主要功能有哪些?

hibernate/hibernate-orm 的主要功能包括:Object-Relational Mapping, Persistence Unit Managers, Persistence State Tracking, Database Abstraction Layers, Data Tenant Isolators, Complex Querying Techniques, Database Transaction Management, Write-Behind Change Tracking。

hibernate/hibernate-orm 有哪些开源替代品?

hibernate/hibernate-orm 的开源替代品包括: doctrine/orm — Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It… go-gorm/gorm — GORM is a developer-focused object-relational mapping library for Go that provides a comprehensive data persistence… dotnet/efcore — Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using… go-gorp/gorp — Gorp is a lightweight object-relational mapper for Go that binds structs to relational database tables. It functions… doctrine/doctrinebundle — DoctrineBundle is a Symfony integration that configures and manages the Doctrine Object Relational Mapper and Database… coleifer/peewee — Peewee is a SQL object-relational mapper and query builder that provides an object-oriented interface for mapping…