Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork228
Repository for demos of various Hibernate projects
License
hibernate/hibernate-demos
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository contains demos used live during presentations or in blog posts; The following demos are currently available:
Hibernate ORM
- core/Basic: simple comparison between JDBC, ORM, and JPA
- core/Fetching Strategies: "when" (laziness) and "how" (fetch style)
- core/Value Generation: annotations allowing in-memory and DB generated properties, both for INSERT and INSERT/UPDATE actions
- core/Multi-Tenancy: multiple, concurrent databases and clients from a single Hibernate instance
- core/Caching: entity second level cache (2LC) and query cache
- core/Envers: historical/audited data
- core/Spatial: geographical data
- osgi: tutorials demonstrating all possible ORM OSGi configurations
Hibernate OGM
- hiking-demo: Demo project used for the talk "Hibernate OGM: Talking to NoSQL in Red Hat JBoss EAP" presented at Red Hat Summit 2014. It shows how to use MongoDB as data store in a Java EE application through JPA / Hibernate OGM.
Hibernate Search
- hsearch-elasticsearch-wikipedia: Demonstrates a REST service using Hibernate Search + Elasticsearch to search a large dataset from Wikipedia.
- hsearch-quarkus: Demonstrates a REST service with CRUD and full-text search featuresimplemented using Quarkus, Hibernate Search and Elasticsearch.Accompanies the blog posthttps://in.relation.to/2019/11/12/hibernate-search-quarkus/
- hsearch-feature-examples: Demonstrates various features of Hibernate Search 6 with Elasticsearch in Quarkus.Used inQuarkus insights Episode 32.
- hsearch-outbox-polling: Demonstrates Hibernate Search's
outbox-pollingcoordination with Elasticsearch in Quarkus.Used for atalk in French at RivieraDev 2023. - hsearch-with-elasticsearch: Shows how to use the Elasticsearch backend in Hibernate Search 6.x.Used for the talk "From Hibernate to Elasticsearch in no Time" at JavaZone 2016 (back then it was using Hibernate Search 5.x).
Hibernate Validator
- threeten-extra-validator-example: Constraint validators for ThreeTen Extra date/time types.Accompanies the blog posthttp://in.relation.to/2017/03/02/adding-custom-constraint-definitions-via-the-java-service-loader/
- time-duration-validator-example: Custom constraint and validator, retrieved via the service loader.Accompanies the blog posthttp://in.relation.to/2017/03/02/adding-custom-constraint-definitions-via-the-java-service-loader/
- updating-hv-in-wildfly: How to upgrade WildFly 10 to the latest version of Hibernate Validator.Accompanies the blog posthttp://in.relation.to/2017/04/04/testing-bean-validation-2-0-on-wildfly-10/
- javafx-validation-example: Shows usage of Bean Validation 2 with JavaFX
- custom-value-extractors: Shows how to put constraints to custom containers such as Guava's
Multimap.Accompanies the blog posthttp://in.relation.to/2018/02/26/putting-bean-validation-constraints-to-multimaps/
Java 9
- multi-release-jar-demo: Shows how to build multi-release JARs with Java 9.Accompanies the blog posthttp://in.relation.to/2017/02/13/building-multi-release-jars-with-maven/
- custom-jlink-plugin: Shows how to customize Java 9 modular runtime images with jlink plug-ins. The example shows a plug-in for adding a Jandex annotation index for one or more modules to the runtime image.
Other
- wildfly-patch-creation: How to create WildFly patch files.Accompanies the blog posthttp://in.relation.to/2017/05/29/creating-patches-for-wildfly/
- cdi-jpa-testing: How to run JUnit tests using CDI, JPA and JTA
If not stated otherwise, the demos are licensed under the Apache License, Version 2.0 (seehttps://www.apache.org/licenses/LICENSE-2.0). Refer to the headers of individual files for specific license and copyright information, in particular of included library files.
About
Repository for demos of various Hibernate projects
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors15
Uh oh!
There was an error while loading.Please reload this page.