Appendix B. Mapping quick reference

Many Hibernate books list all possible XML mapping elements and mapping annotations in an appendix. The usefulness of doing so is questionable. First, this information is already available in a convenient form; you only need to know how to get it. Second, any reference we might add here would be outdated in a matter of months, maybe even weeks. The core Hibernate mapping strategies don't change that often, but little details, options, and attributes are always modified in the process of improving Hibernate.

And isn't the main reason you want a mapping reference—so you have an up-to-date list of all options?

  • You can get a list of all XML mapping elements and attributes bundled with Hibernate in hibernate-mapping-3.0.dtd. ...

Get Java Persistence with Hibernate now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.