Support for column-level read/write fragments (Rob Hasselbaum)

Activity

Show:

Rob HasselbaumOctober 7, 2015 at 5:54 PM

Sorry, I don't remember. Possibly the change you're looking at was an aborted attempt to handle keys as well.

Steve EbersoleOctober 7, 2015 at 5:43 PM

That was my recollection too. However the original work does partially try to handle id values, although just for the read part. You can see it in your patch attachment as part of the changes to AbstractEntityPersister:

I am just trying to determine why write fragments were not accounted for there. I could not remember if there was a specific discussion about those or what.

As for the actual report, I can track that down. More than likely the readers/templates were just missed in a few places that SQL is rendered.

Rob HasselbaumOctober 7, 2015 at 5:31 PM

Hi Steve. It has been a long time. The original patch was designed to cover only "simple properties". That's called out in the attached doc patch, although I don't know if the documentation related to this has changed in more recent versions of Hibernate.

Steve EbersoleOctober 7, 2015 at 4:37 PM

Sorry to trudge up such an old issue, but I am working on where read/write fragments seem to have been applied inconsistently for identifiers (pks). Did we have some discussion about this in particular?

E.g. the write fragment is not accounted for at all. Also, in terms of SQL generation the read fragment is applied sometimes, other times not depending on how the SQL fragment is generated.

Kyrill AlyoshinJuly 2, 2010 at 6:17 PM

Never mind. read and write are recognized on column (IDE was throwing me off).

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created September 14, 2009 at 4:33 PM
Updated October 7, 2015 at 5:54 PM
Resolved February 19, 2010 at 8:16 PM