Hibernate's most important annotation - @Entity
How to Program with Java Podcast - A podcast by Trevor Page: Java Guru | Programmer | Teacher
Categorie:
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.