Skip to content

sebersole/hibernate-models2

Repository files navigation

Boot models

A work-in-progress look at a more phased approach to how Hibernate reads annotation and XML based mapping information. Specifically here we are looking at the process used to build the org.hibernate.mapping model - the so-called boot model.

See HHH-16114 for details and discussion.

There are a few inter-related goals for this work -

  1. More phased approach compared to the current "second pass" approach

  2. Replace HCANN with Jandex for low-level annotation reading

  3. Extended orm.xml support (drop hbm.xml)

  4. Better leverage of "temp class loader"

  5. Re-usability across projects[1]

The modules

hibernate-models-common

Common stuff - duh

hibernate-models-source

An abstraction over reflection and annotation

hibernate-models-intermediate

First set of phases to categorize a domain model -

  1. Simple categorization of entity v. embeddable v. “simple” class

  2. Light categorization of attributes

  3. Application of XML via JAXB - overlay and override

  4. Normalization of values

Definitely need a better name for hibernate-models-intermediate


1. This is a nice-to-have, as opposed to a hard goal

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages