Re:Embracing SQL in Postgres
by reitanqild on Thursday February 26, 2015 @08:28AM
(#9112336)
Months since last I used JPA but I'm well beyond 90% sure I did this in JPA as well.
[ Parent
| on HN ]
You can. It's just not mundane JPA. Hibernate had the same feature before JPA borrowed it. I was the only person that new Hibernate well enough to do that. JPA targets normal CRUD->POJO apps for it's common case. Under most circumstances you don't need raw SQL for that.