So in your Category table, you'd have two columns for example. categoryID and categoryName.
You'd have two hibernate mapping files, one for Article and one for Category.
The mapping file will generate two Java POJO, Article.java, and Category.java.
I assume you'd want a Many-One relationship from Article to Category (i.e. many articles can be in the same category).
In the Article mapping file you'd specify the foreign key relationship, for example:
Code:
<many-to-one name="category" class="Category" fetch="select">
<column name="categoryid" />
</many-to-one>
What this says is that in the Article entity, you have a property called "category" which is actually a foreign key to the Category (using the categoryid column).
Now whenever you load an Article through hibernate, you can do Article.getCategory().getCategoryName(). As you can see, hibernate maps the Category object in.
Hope that hepls.