Object-Relational Mapping

  • Antonio Goncalves


In the previous chapter I went through the basics of object-relational mapping (ORM), which is basically mapping entities to tables and attributes to columns. I also introduced configuration by exception which allows the JPA provider to map an entity to a database table using all the defaults. But defaults are not always suitable, especially if you map your domain model to an existing database. JPA comes with a rich set of metadata so you can customize the mapping.


Unify Modeling Language Access Type Root Class Property Access Unidirectional Relationship 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Antonio Goncalves 2013

Authors and Affiliations

  • Antonio Goncalves
    • 1
  1. 1.ParisFrance

Personalised recommendations