Re: [hibernate-dev] Question..

2017-10-13 Thread Gail Badner
Hi Steve, I'm circling back to this. Please see below... On Sat, Sep 2, 2017 at 8:47 AM, Steve Ebersole wrote: > I don't have the original email to reply to. So I'll reply here. > > Overall, I had not really considered the primitive attribute case, but yeah > that's

[hibernate-dev] Programmatic entity mapping API

2017-10-13 Thread Gunnar Morling
Hi all, This has crossed my mind for a few times: should we provide a programmatic API in Hibernate ORM for mapping entities, as an alternative mapping definition source to annotations and XML? I.e. something similar to the programmatic mapping APIs we have in Hibernate Validator and Search.

Re: [hibernate-dev] Statements leaks when using JPA StoredProcedureQuery API

2017-10-13 Thread Steve Ebersole
The conceptualization of a Query for both Hibernate and JPA is that you execute it and get back the result of that execution: a List, a single result, a ScrollableResult, a Stream, etc. Yet then JPA throws in StoredProcedureQuery which is completely different conceptually. Here you execute and

[hibernate-dev]

2017-10-13 Thread Steve Ebersole
Hibernate mappings define a feature to allow a secondary table (`` in hbm terms) to be defined as not joined via : ``. This actually creates a subsequent select to load the data from the secondary table. I am trying to figure out how to best incorporate this into the paradigm for JDBC statement