Hibernate Tips: How to Call a Function that returns a SYS_REFCURSOR
|

Hibernate Tips: How to Call a Function that returns a SYS_REFCURSOR

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 for a future Hibernate Tip, please leave a comment below. Question: We are using an Oracle database, and I need to call a function that returns an SYS_REFCURSOR. I tried…

Hibernate Tips: How to Handle NULL Values while Ordering Query Results in JPQL
|

Hibernate Tips: How to Handle NULL Values while Ordering Query Results in JPQL

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 for a future Hibernate Tip, please leave a comment below. Question: I need to order the result of a JPQL query based on a column that contains NULL values. How…

Hibernate Tips: What’s the best way to persist a ZonedDateTime

Hibernate Tips: What’s the best way to persist a ZonedDateTime

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 for a future Hibernate Tip, please leave a comment below. Question: During last week’s Hibernate workshop, I got a few questions about Hibernate’s handling of ZonedDateTime objects. To sum them…