Issues

Select view

Select search mode

 
50 of

rework ImmutableEntityUpdateQueryHandlingMode and immutable_entity_update_query_handling_mode

Fixed

Description

This enum is currently declared in the root org.hibernate.query namespace, even though it’s definitely not an API, and there’s nothing application programs can really do with it (except, perhaps, pass it as a property value to the Configuration object).

I will move it to org.hibernate.query.spi which is where its only interesting usage is.

Details

Assignee

Reporter

Components

Fix versions

Priority

Created yesterday
Updated 18 hours ago
Resolved 21 hours ago

Activity

Gavin King18 hours ago
Edited

Finally, I decided to not only deprecate ImmutableEntityUpdateQueryHandlingMode, so that in future it can just be a boolean-valued switch, but also to invert its default. It makes no sense to default to WARN, and then to allow an exception as an opt-in. It should be default to exception, and allow explicit suppression (with no WARN).

Gavin King21 hours ago
Edited

Done. Honestly I have no clue why we need an enum isomorphic to Boolean for such an incredibly trivial thing.

Actually, hrrrrm, on second thought I think I might deprecate this stuff.

Flag notifications