An Introduction to Generics in Java – Part 6
This is a continuation of an introductory discussion on Generics, previous parts of which can be found here. In the last article we were discussing about recursive bounds on type parameters. We saw how...
View ArticleJPA Tutorial – Setting Up JPA in a Java SE Environment
JPA stands for Java Persistence API, which basically is a specification that describes a way to persist data into a persistent storage, usually a database. We can think of it as something similar to...
View ArticleJPA tutorial: Mapping Entities – Part 1
In this article I will discuss about the entity mapping procedure in JPA. As for my examples I will use the same schema that I used in one of my previous articles. In my two previous articles I...
View ArticleJPA Tutorial: Mapping Entities – Part 2
In my last post I showed a simple way of persisting an entity. I explained the default approach that JPA uses to determine the default table for an entity. Let’s assume that we want to override this...
View ArticleJPA Tutorial: Mapping Entities – Part 3
In my last article I showed two different ways to read/write persistent entity state – field and property. When field access mode is used, JPA directly reads the state values from the fields of an...
View Article
More Pages to Explore .....