youtube image
From YouTube: JPAstreamer: Expressing Hibernate/JPA queries with Java streams | Jakarta Tech Talks | May 10, 2021

Description

Per-Åke Minborg - Founder and CTO of Speedment, Inc presents:

What if you could keep Hibernate/JPA and at the same time stick to Java and the Java Stream API?

Like many Java developers, I like to stick to a single language. Every time I come across a database project and need to switch from Java to Hibernate Query Language (HQL) or Java Persistence Query Language (JPQL), it is a tedious process because the syntax is wordy and partly unintuitive. Nevertheless, I do appreciate that the Hibernate Java Persistence API (JPA) abstracts away other inconveniences for me.

Now, you might think that it’s already possible to obtain streams in the later versions of JPA, and this is perfectly true. However, those streams fall short of enabling the use of streams to express actual database queries. This feature merely relies on a wrapped stream from previous HQL or JPQL queries or users performing complete table scans. To add insult to injury, these stream implementations are often flawed and perform poorly.

To solve these problems, Speedment developed the open source library called JPAstreamer. This webinar shows how to express JPA, Hibernate, and Spring queries using standard Java streams. All that is necessary is to add a single dependency, and then the application is instantly ready to handle database Java streams.

Get Social!

Website: jakarta.ee
Subscribe: https://www.youtube.com/user/EclipseF...
Follow us on Twitter: https://twitter.com/JakartaEE​​​​​​​
Like us on Facebook: https://www.facebook.com/JakartaEE/​​...​
Join us on LinkedIn: https://www.linkedin.com/groups/13597...
Tag us: #JakartaEE​​​​​​​
Want more great Eclipse Community webinars? Become a member of our Jakarta Tech Talks Meetup: https://www.meetup.com/jakartatechtalks