Today is Monday, 4th July 2022

Archive for the ‘JPA’ Category

Wrox #6: Java Persistence API (JPA) Tutorial Overview

In this video, I will give you an overview of the Java Persistence API (JPA).

Please SUBSCRIBE to my YouTube channel.


Follow luv2code with the links below:

– Website:
– YouTube:
– Twitter:
– Facebook:

Hey Everyone,

You may have noticed that things were quiet around here. Well, a couple of months ago I was hired by Wrox to create video tutorials for the book, 24 Hour Java. I created a total of 73 videos (whew) for the book. So the project took up all of my free time that I normally used for YouTube videos. Anyways, the project is over and now I have some free time on the weekends 🙂

The book’s author is Yakov Fain and he’s an Oracle Java champion. It was a real pleasure working with Yakov on this project.

Wrox gave me permission to publish a small set of the videos on my YouTube channel for promotional purposes. Over the next couple of weeks, I’ll release a new video from the book on my YouTube channel. You can check the playlist here:

If you’re interested in the book, then head over to book’s website using the link below.

Java Programming 24-Hour Trainer, 2nd Edition

Here’s the official blurb about the book.

Quick and painless Java programming with expert multimedia instruction

Java Programming 24-Hour Trainer, 2nd Edition is your complete beginner’s guide to the Java programming language, with easy-to-follow lessons and supplemental exercises that help you get up and running quickly. Step-by-step instruction walks you through the basics of object-oriented programming, syntax, interfaces, and more, before building upon your skills to develop games, web apps, networks, and automations.

This second edition has been updated to align with Java SE 8 and Java EE 7, and includes new information on GUI basics, lambda expressions, streaming API, WebSockets, and Gradle. Even if you have no programming experience at all, the more than six hours of Java programming screencasts will demonstrate major concepts and procedures in a way that facilitates learning and promotes a better understanding of the development process.

This is your quick and painless guide to mastering Java, whether you’re starting from scratch or just looking to expand your skill set. Master the building blocks that go into any Java project Make writing code easier with the Eclipse tools Learn to connect Java applications to databases Design and build graphical user interfaces and web applications Learn to develop GUIs with JavaFX

If you want to start programming quickly, Java Programming 24-Hour Trainer, 2nd Edition is your ideal solution.



JPA 2: New Features

JPA 2 was released in December 2009. The release includes the following new features:

  • Standardize useful properties (hints, caching)
  • Fill in ORM mapping gaps
  • Make object modeling more flexible
  • Offer simple cache control abstraction
  • Allow advanced locking settings
  • Provide more hooks for vendor properties
  • Add API for better tooling support
  • Enhance JP QL query language
  • Support Java API based query language
  • Integrate with established validation standards

Mike Keith of Oracle has an excellent presentation on the new features of JPA 2. Mike is an authority on subject and is a member of the JPA JCP Expert Group. Mike is also the author of Pro JPA 2: Mastering the Java Persistence API (Apress).

Additional Resources

JSR 317: Java Persistence 2.0

Oracle TopLink reaches End-of-Life

End-of-life is a euphenism for a project/product that is “discontinued, unsupported and dead” 🙂

I have used Oracle TopLink for the past 10 years on various projects. It was one of the first ORM frameworks that “got it right”. Unfortunately, it was a commercial product that was out of the reach of most developers ($$$). Once comparable open-source projects came along such as Hibernate and iBatis, then it was really hard to justify the price of Oracle TopLink.

As a result, Oracle has decided to open-source TopLink and provide the source code to the EclipseLink project. So “TopLink” as a product name will fade in the sun set. EclipseLink will pick the best parts of TopLink and move forward.

The following blurb is posted on the Oracle TopLink site.

Oracle TopLink is a leader in the JPA community delivering the JPA 1.0 reference implementation with TopLink Essentials and now developing the JPA 2.0 reference implementation with EclipseLink.

As of Oracle TopLink 11g, TopLink Essentials has been replaced with EclipseLink JPA. EclipseLink JPA implements JPA 1.0 and is responsible for delivering the persistence framework.

Note: EclipseLink supports JPA 2.0 as of Dec 2009.

Oracle TopLink (R.I.P.).