4 个仓库
Verification of correct object-relational mapping configurations to prevent runtime errors and suboptimal queries.
Distinct from Database ORMs: Focuses on static validation of mapping logic rather than the ORM framework implementation itself
Explore 4 awesome GitHub repositories matching data & databases · Mapping Validation. Refine with filters or upvote what's useful.
p3c is a Java static analysis tool and code quality linter designed to enforce professional coding guidelines and quality standards. It utilizes a set of custom rules based on the PMD engine to scan source code for style violations, performance bottlenecks, and potential bugs. The project is distributed as an IDE linting plugin that provides real-time feedback and warnings during development. It also includes functionality for pre-commit code quality gates, allowing modified files to be scanned and blocked if they violate defined rules before being committed to version control. The analysis
Provides static analysis to ensure boolean properties and column requests are correctly mapped in ORM configurations.
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
Ships a tool to verify that object-relational mapping configurations are correct before runtime to prevent errors.
Mapperly 是一个 C# 源生成器,用于 .NET 中的高性能对象到对象映射。它作为一个编译时映射库,在构建过程中生成必要的转换代码,消除了在领域模型和数据传输对象(DTO)之间转换时对运行时反射的需求。 该工具的特色在于提供类型安全的诊断验证和严格的映射强制执行,在编译时为未映射的属性发出警告。它包含用于处理循环引用和深拷贝的专门能力,以保持对象标识并在复杂转换期间防止无限循环。 该项目涵盖了广泛的转换任务,包括嵌套对象层级的扁平化、各种集合类型和 Span 的转换,以及字符串与原始类型之间的全面枚举映射。它还通过查询投影支持数据库集成,将映射定义转换为表达式树,以优化从可查询源中检索字段。 配置选项允许自定义对象工厂、成员级排除以及用户定义映射逻辑的集成。生成的源代码可导出到可配置目录,以便进行人工检查和版本控制。
Analyzes mapping signatures and member availability at compile time to prevent invalid configurations.
This project is a relational SQL sample database and synthetic testing dataset. It provides a standardized data model of a fictional digital media store, encompassing business entities such as artists, albums, tracks, customers, and invoices. The dataset is designed as a cross-dialect SQL collection, using compatible scripts to ensure consistent data seeding and environment parity across different database server engines. It combines imported metadata with fictitious personal details to create realistic records for software prototyping and demonstrations. The project covers capabilities for
Provides complex data structures to verify the correctness of object-relational mapping configurations.