/hibernate-demos

Repository for demos used live during presentations

Primary LanguageJavaApache License 2.0Apache-2.0

hibernate-demos

This repository contains demos used live during presentations; 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.

License

If not stated otherwise, the demos are licensed under the Apache License, Version 2.0 (see https://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.