Coders Campus Podcast

Hibernate's most important annotation - @Entity

07.08.2014 - By Trevor PagePlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

What You’ll Learn

The focus of this podcast / blog post is to teach you how to create the connection between your Java objects and the SQL Database tables. Remember, the whole point of the Hibernate framework is for you to be able to write Java code that allows you to communicate with your database.

When I say that the goal is to communicate with your database, what I mean is:

Create the tables (if they’re not already there) that will represent your Java objects

Give Java the ability to send queries and execute scripts on your database

Establish a transactional means by which to perform CRUD operations

What we’re going to be tackling in this post will the step #1, how to get Hibernate to create our tables for us.

More episodes from Coders Campus Podcast