Hibernate Tips: Map an Unidirectional One-to-Many Association Without a Junction Table
|

Hibernate Tips: Map an Unidirectional One-to-Many Association Without a Junction Table

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: My table model contains a normal one-to-many association using a foreign key column on the table that represents the…

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…