On Java Development

All things related to Java development, from the perspective of a caveman.

Archive for the ‘Hibernate and JPA Annotations’ tag

Hibernate and JPA Annotations

without comments

Introduction

Early releases of Hibernate used an XML document to instruct Hibernate how to map the Entity class to its related database file. It is the mechanism used to associate properties of the entity class to the file’s fields and is known as object/relational mapping. These days, annotations are the preferred method, but there are some things developers need to watch for.
Read the rest of this entry »

Written by admin

January 12th, 2014 at 4:07 pm