We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode Hibernate's most important annotation - @Entity

Hibernate's most important annotation - @Entity

2014/7/8
logo of podcast How to Program with Java Podcast

How to Program with Java Podcast

Shownotes Transcript

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.