Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Antonio Goncalves
About this chapter
Cite this chapter
Goncalves, A. (2013). Object-Relational Mapping. In: Beginning Java EE 7. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4627-5_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4627-5_5
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4626-8
Online ISBN: 978-1-4302-4627-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)