[hibernate-dev] SQM - PoC design doc

Steve Ebersole steve at hibernate.org
Tue Dec 20 16:55:52 EST 2016


Christian provided some good feedback on the HipChat channel and we have
started a discussion about those there.

I have run into a new one specific to union-subclasses and building the
Table/Column structures for these.  The problem is that we need 2
distinction understandings of the Tables for these entities:
1) Is the union query used for selects.
2) is the physical hierarchy tables for DML operations

The problem comes from the fact that Column holds a link to its Table.
Here we'd have to create duplicated columns, one for the union-query table
and one for the physical tables.  And then we'd have to do the same for
things that expose columns.  For example, if I ask the "identifier
descriptor" for a union-subclass entity for its columns, do I get the
Columns that report the union-query as its Table?  Or do I get the Columns
that report the physical Table for its Table?


On Fri, Dec 16, 2016 at 10:15 PM Steve Ebersole <steve at hibernate.org> wrote:

> I have pushed a newly updated version of the design.adoc bringing the
> discussions up-to-date with the latest code/design.
>
> This PoC work is getting very far along and I really have not had much
> feedback. My concern is that this code is only going to become harder to
> review (more to look at) as more time passes.
>
> I know digging in the code (it is a lot) is not really feasible, but
> please at least take some time to look over the design.adoc in the poc
> repo.
>
> Feedback sooner is better :)
>


More information about the hibernate-dev mailing list