Skip to content
Thorben Janssen
  • BlogExpand
    • Tutorials
    • Hibernate Tips
    • Video Tutorials
  • Persistence Hub
  • Workshops
  • Consulting
  • Book
  • AboutExpand
    • About
    • Talks
    • Contact
Sign In
Thorben Janssen

JPA2.1

  • How to implement an AttributeConverter to support custom types
    JPA | Hibernate Advanced | JPA2.1

    How to implement an AttributeConverter to support custom types

    ByThorben Janssen

    All JPA implementations, including Hibernate, provide default mappings for a huge set of standard Java classes. You could model the attributes of all your entity classes using those mappings, and you would be able to map all columns of your table model. But this is often not the best fit for your business logic. A…

    Read More How to implement an AttributeConverter to support custom typesContinue

  • Native Queries – How to call native SQL queries with JPA & Hibernate
    JPA | Featured | Hibernate Performance | JPA2.1

    Native Queries – How to call native SQL queries with JPA & Hibernate

    ByThorben Janssen

    The Java Persistence Query Language (JPQL) is the most common way to query data from a database with JPA. It enables you to reuse your mapping definitions and is easier to use than SQL. But it supports only a small subset of the SQL standard, and it also provides no support for database-specific features. So…

    Read More Native Queries – How to call native SQL queries with JPA & HibernateContinue

  • Hibernate with PostgreSQL – 6 things you need to know
    JPA | Hibernate Beginner | JPA2.1

    Hibernate with PostgreSQL – 6 things you need to know

    ByThorben Janssen

    PostgreSQL is one of the most popular relational databases, and Hibernate is probably the most popular JPA implementation. So, it’s no surprise that they’re often used together and that you don’t have to expect any major issues doing that. But as so often, there is a difference between “it works” and “it works great”. Out…

    Read More Hibernate with PostgreSQL – 6 things you need to knowContinue

  • 8 Ways to use the features of your database with Hibernate
    JPA | Hibernate Performance | JPA2.1

    8 Ways to use the features of your database with Hibernate

    ByThorben Janssen

    A common misconception when working with Hibernate is that you can only map database tables and don’t use any other database features. That’s not the case, as I want to show you in this post. You can also use lots of other features which allow you to: Map read-only database views Call database functions Execute…

    Read More 8 Ways to use the features of your database with HibernateContinue

  • Hibernate Tips: How to call a stored procedure
    JPA | Hibernate Tips | JPA2.1

    Hibernate Tips: How to call a stored procedure

    ByThorben Janssen

    Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions. If you have a question you like me to answer, please leave a comment below. Question: My DBA created a stored procedure which I need to call from my Java code. What’s the best way…

    Read More Hibernate Tips: How to call a stored procedureContinue

Page navigation

1 2 3 … 5 Next PageNext

Join the Newsletter

Join 10k+ subscribers to get a persistence tip every weekday.

I will collect, use and protect your data in accordance with my privacy policy.

Level up your skills!

  • In-depth courses
  • Expert sessions
  • Monthly persistence news
Learn more!
Twitter YouTube Github Facebook Xing Linkedin
  • Disclaimer
  • Privacy Policy
  • Terms of Service
  • Imprint
  • Contact
  • Change privacy settings
  • Privacy settings history
  • Revoke consents

© 2025 Thorben Janssen, all rights reserved.

  • Blog
    • Tutorials
    • Hibernate Tips
    • Video Tutorials
  • Persistence Hub
  • Workshops
  • Consulting
  • Book
  • About
    • About
    • Talks
    • Contact
Search