hibernate / hibernate-models

An abstraction over "reflection" and annotations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hibernate models

A de-typed abstraction over "reflection" and annotations (and in the case of Hibernate ORM, mapping XML also).

Uses a mix of Jandex and Java reflection to build the de-typed abstraction model of classes and annotations referenced by an application’s managed resources[1].

Consumers can then access details from that abstraction model in a unified way, regardless of the underlying source (Jandex or reflection). For classes which we are able to access from a Jandex index, this has the benefit that the classes are not loaded into the ClassLoader; which is important because once a classes is loaded into a ClassLoader, its bytecode cannot be changed and run-time bytecode enhancement is not possible.

This work is intended to replace the hibernate-commons-annotation (HCANN) library, which suffered from a number of shortcomings.


1. The application’s domain and related classes

About

An abstraction over "reflection" and annotations

License:Apache License 2.0


Languages

Language:Java 100.0%