Advertisment

Using Generics with Java Persistence

author-image
CIOL Bureau
Updated On
New Update

It handles all the details regarding how relational data is mapped to Java objects, and it standardizes object-relational mapping.

Often applications that use Java Persistence execute queries that return a collection of objects. Java Platform, Standard Edition (Java SE) 5 introduced a new feature called generics that lets you specify the type of objects in collections. If you use Java Persistence in your applications, you can take advantage of generics to gain some extra benefits for your code such as type safety.

Click here for more...!

tech-news