awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
hibernate avatar

hibernate/hibernate-validator

0
View on GitHub↗
hibernate.org/validator↗

Hibernate Validator

Hibernate Validator is a reference implementation of the Jakarta Validation specification, serving as a framework for enforcing data integrity across Java applications. It functions as a declarative validation engine that processes object constraints to ensure that application state remains consistent. By utilizing metadata-driven rules, the library validates object properties, method parameters, and nested collections to maintain data standards throughout an application's layers.

The library distinguishes itself through its ability to perform static analysis on validation configurations, identifying structural errors before runtime. It supports complex data integrity requirements by allowing developers to define custom validation logic and integrate with dependency injection systems. The engine also features a message interpolation system that provides localized error reporting, ensuring that feedback is adapted to specific user environments.

Beyond core validation, the project includes diagnostic utilities for performance benchmarking and execution profiling to monitor throughput and resource usage. It provides flexible configuration options, allowing rules to be defined via annotations or external descriptors, and includes specialized adapters for extracting values from diverse data sources.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Bean Mapping and Validation - Provides a reference implementation of the Jakarta Validation specification for enforcing data integrity through declarative metadata-driven constraints in Java applications.
  • Object Constraint Validation Engines - Provides a validation engine that processes object constraints and reports violations to maintain data integrity across application layers.
  • Validation Implementations - Serves as the reference implementation for the Jakarta Validation specification, enforcing data integrity rules on object models using declarative annotations.
  • Recursive Object Validation - Ensures application state remains consistent by enforcing data integrity constraints on object properties and method parameters.
  • Field-Level Metadata Annotations - Automatically interprets metadata tags on object fields or methods to apply validation logic during execution without requiring manual checks.
  • Constraint Enforcers - Enforces data integrity rules on object models by evaluating annotations and programmatic configurations to ensure all fields meet requirements.
  • Annotation Metadata Transformers - Uses reflection to scan class annotations at runtime and transform them into executable validation logic for object properties.
  • Message Interpolation - Resolves localized error strings by dynamically injecting constraint metadata into template patterns based on the current user environment.
  • Validation Rule Engines - Defines validation constraints using annotations or external descriptors to allow flexible rule management without needing to modify the underlying source code.
  • Element-Level Validation - Enforces constraints on the contents of collections, arrays, and nested structures to ensure that every element meets the required standards.
  • Validation Error Reporters - Gathers and returns detailed information about specific constraint violations when an object fails to meet the required criteria.
  • Dependency Injection - Connects validation services into managed components to ensure that constraint checking happens automatically within the broader application architecture.
  • Validation Message Localization - Adapts validation error messages to specific languages and regions using pluggable resolvers to support users in internationalized applications.
  • Validation Constraints - Analyzes metadata configurations during initialization to detect structural errors in validation rules before the application begins processing data.
  • Static Analysis Detectors - Provides static analysis to detect errors in constraint declarations and group sequences during compilation, preventing runtime configuration failures.
  • Custom Logic Validation - Implements unique validation routines using programmatic interfaces or specialized value extractors to handle complex data types.
1,266 stars·589 forks·Java·Apache-2.0·18 views

Star history

Star history chart for hibernate/hibernate-validatorStar history chart for hibernate/hibernate-validator

Frequently asked questions

What does hibernate/hibernate-validator do?

Hibernate Validator is a reference implementation of the Jakarta Validation specification, serving as a framework for enforcing data integrity across Java applications. It functions as a declarative validation engine that processes object constraints to ensure that application state remains consistent. By utilizing metadata-driven rules, the library validates object properties, method parameters, and nested collections to maintain data standards throughout an application's…

What are the main features of hibernate/hibernate-validator?

The main features of hibernate/hibernate-validator are: Bean Mapping and Validation, Object Constraint Validation Engines, Validation Implementations, Recursive Object Validation, Field-Level Metadata Annotations, Constraint Enforcers, Annotation Metadata Transformers, Message Interpolation.

What are some open-source alternatives to hibernate/hibernate-validator?

Open-source alternatives to hibernate/hibernate-validator include: symfony/validator — This library is a PHP framework for enforcing data integrity and business rules by validating scalar values and… yiminghe/async-validator — async-validator is a JavaScript schema validation library and asynchronous data validation engine. It verifies complex… neoremind/fluent-validator — Fluent-validator is a Java validation framework designed to enforce data integrity through declarative constraints and… go-ozzo/ozzo-validation — ozzo-validation is a programmable data validation library for Go that verifies structs, maps, and primitive types… asaskevich/govalidator — [Go] Package of validators and sanitizers for strings, numerics, slices and structs. graphql-dotnet/graphql-dotnet — GraphQL.NET is a server-side framework for building and executing GraphQL APIs within C# applications. It provides a…

Open-source alternatives to Hibernate Validator

Similar open-source projects, ranked by how many features they share with Hibernate Validator.
  • symfony/validatorsymfony avatar

    symfony/validator

    2,689View on GitHub↗

    This library is a PHP framework for enforcing data integrity and business rules by validating scalar values and complex object structures against predefined constraints. It provides a structured approach to inspecting object graphs and property metadata, ensuring that data conforms to expected requirements before it is processed by an application. The framework distinguishes itself through a metadata-driven mapping system that uses reflection or configuration files to apply rules directly to object properties. It supports contextual rule orchestration, allowing developers to organize constrai

    PHPcomponentphpsymfony
    View on GitHub↗2,689
  • yiminghe/async-validatoryiminghe avatar

    yiminghe/async-validator

    9,099View on GitHub↗

    async-validator is a JavaScript schema validation library and asynchronous data validation engine. It verifies complex object structures and nested arrays by applying recursive rules and non-blocking, promise-based execution to ensure data integrity. The library functions as both an object constraint validator and a data transformation pipeline. It allows for the sanitization, coercion, and formatting of input values through a sequence of functions that run before and after the primary validation process. The engine covers a range of capabilities including recursive nested validation, the en

    TypeScript
    View on GitHub↗9,099
  • neoremind/fluent-validatorneoremind avatar

    neoremind/fluent-validator

    1,019View on GitHub↗

    Fluent-validator is a Java validation framework designed to enforce data integrity through declarative constraints and automated service-layer checks. It provides a structured environment for defining validation logic that integrates with the JSR 303 specification, allowing developers to maintain consistent data quality across complex object hierarchies and application boundaries. The framework distinguishes itself through a fluent interface that enables the orchestration of validation chains, allowing for readable and maintainable rule sequences. It supports advanced execution control, inclu

    Java
    View on GitHub↗1,019
  • go-ozzo/ozzo-validationgo-ozzo avatar

    go-ozzo/ozzo-validation

    4,072View on GitHub↗

    ozzo-validation is a programmable data validation library for Go that verifies structs, maps, and primitive types using a declarative, rule-based approach. It functions as an interface-based validator, allowing for the recursive checking of nested data structures and custom types without the use of struct tags. The framework distinguishes itself as a context-aware validation engine, supporting the propagation of request-scoped data to rules that depend on external state. It provides extensive extensibility through custom rule definitions and the ability to override default failure text with l

    Gogogolangozzo
    View on GitHub↗4,072
See all 30 alternatives to Hibernate Validator→

Curated searches featuring Hibernate Validator

Hand-picked collections where Hibernate Validator appears.
  • a library for model attribute validation