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

Hibernate

Hibernate Tips: Map generated values
Hibernate Tips

Hibernate Tips: Map generated values

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: The database administrator set up a trigger to generate the value of a database column. How can map this…

Read More Hibernate Tips: Map generated valuesContinue

How to persist creation and update timestamps with Hibernate
Hibernate 5 | Hibernate Advanced

How to persist creation and update timestamps with Hibernate

ByThorben Janssen

Storing the creation timestamp or the timestamp of the last update is a common requirement for modern applications. It sounds like a simple requirement, but for a huge application, you don’t want to set a new update timestamp in every use case that changes the entity.

Read More How to persist creation and update timestamps with HibernateContinue

Hibernate Tips: How to use pagination with JPQL
Hibernate Tips

Hibernate Tips: How to use pagination with JPQL

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: JPQL doesn’t support the LIMIT keyword. How can I use pagination with Hibernate?

Read More Hibernate Tips: How to use pagination with JPQLContinue

Hibernate Tips: Use an auto-incremented column as primary key
Hibernate Tips

Hibernate Tips: Use an auto-incremented column as primary key

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 database supports auto-incremented columns. How can I use them as primary keys in Hibernate?

Read More Hibernate Tips: Use an auto-incremented column as primary keyContinue

Is your query too complex for JPA and Hibernate?
JPA | Hibernate Advanced

Is your query too complex for JPA and Hibernate?

ByThorben Janssen

A while ago, I wrote a post explaining how you can check if Hibernate is a good fit for your new project. One of the key questions you have to ask yourself is if you need to perform a lot of complex queries because JPQL supports only a subset of SQL. SQL is, therefore, often…

Read More Is your query too complex for JPA and Hibernate?Continue

Page navigation

Previous PagePrevious 1 … 42 43 44 45 46 … 54 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