Issues
- NPE with Query Cache, Left Join Fetch, Inheritance on Both Sides, and No AssociationHHH-19311
- Simplified declaration of type for basic mappings in XMLHHH-19310
- Switch to Central Publishing Portal APi for publishing to Maven CentralHHH-19309
- lock timeoutsHHH-19308
- NPE when entity class missing from persistence.xml is id of another entityHHH-19307
- Composite generator may not respect the event types of generators it consits ofHHH-19306Marko Bekhta
- NPE in EntityEntryContext nonEnhancedEntityXref.get( entity )HHH-19305
- NPE in ResultSetMappingProcessor when using createNativeQuery with {x.*} notation and Entity with Embeddable that contains relational mappingsHHH-19304
- validate @Id fields against @IdClass in ProcessorHHH-19303Resolved issue: HHH-19303Gavin King
- composite ids with no id classHHH-19302
- Must import FQCN when generating metamodel class for inner Jakarta Data repository interfaceHHH-19301Resolved issue: HHH-19301Čedomir Igaly
- more ConstraintKindsHHH-19300Resolved issue: HHH-19300Gavin King
- <element-collection/> with LIST classification interpreted as BAGHHH-19299
- add convenience overloads of StatelessSession.get() which default GraphSemantic.LOADHHH-19298Resolved issue: HHH-19298Gavin King
- Register json functions in SingleStore community dialectHHH-19297Oleksandr Yeliseiev
- overload createSelectionQuery() to accept an EntityGraph instead of a result classHHH-19296Resolved issue: HHH-19296Gavin King
- Foreign keys are dropped when using schema = "public" after migrating to Spring Boot 3HHH-19295
- NodeBuilder collection*() doesn't work with enum collectionsHHH-19294
- Criteria isMember() doesn't work with collections mapped as arrayHHH-19293Resolved issue: HHH-19293
- Significant Memory Increase After Upgrading from Spring Boot 3.3.5 to 3.4.4HHH-19292
- Expressions.nullExpresion() in querydsl result in NPE in SqmExpressible with named parametersHHH-19291Resolved issue: HHH-19291Andrea Boriero
- Ability to generate ProxyFactory, AccessOptimizer and InstantiationOptimizer at build timeHHH-19290
- Integrate release_announcement.md into website publishingHHH-19289
- Allow HIbernate Reactive to extend JdbcEnvironmentInitiatorHHH-19288
- CURRENT DATE is not recognized as a keyword using DB2DialectHHH-19287Resolved issue: HHH-19287
- Ignoring auto-applied conversions on special mappingsHHH-19286
- @ManyToAny with @FilterJoinTable KOHHH-19285
- Extract Duplicated Vector Function Registration LogicHHH-19284donghyun Lee
- Hibernate Gradle Plugin configuration cache supportHHH-19283
- Hibernate Envers & Oracle: Automatic column name conversion to uppercaseHHH-19282
- Identify and handle tests which don't need to be run on all databasesHHH-19281
- ResourceRegistryStandardImpl#close(java.sql.Statement) is called on already closed statementsHHH-19280Andrea Boriero
- @Basic not implicit optionalHHH-19279Resolved issue: HHH-19279Gavin King
- fixes to logic in MultiIdEntityLoadersHHH-19278Resolved issue: HHH-19278Gavin King
- Native query EntityManager.createNativeQuery(…, EntityType.class) returns different result when run via EntityManager.createNativeQuery(…)HHH-19277Resolved issue: HHH-19277
- Native query with enum list param leads to OutOfMemoryHHH-19276
- Missing 6.6.11 release for hibernate-orm-toolsHHH-19275Resolved issue: HHH-19275Andrea Boriero
- Deprecate MetadataBuilder#applyIndexView and friendsHHH-19274Resolved issue: HHH-19274Steve Ebersole
- FetchNotFoundException after Upgrade to 6.6.XHHH-19273
- Secondary table with nested embedded objectHHH-19272
- support HINT_FETCH_PROFILE in SelectionQueryHHH-19271Resolved issue: HHH-19271Gavin King
- Remove LGPL-only contributions to EnversHHH-19270Resolved issue: HHH-19270Yoann Rodière
- Remove support for @Audited(modifiedColumnName = ...)HHH-19269Resolved issue: HHH-19269Yoann Rodière
- StatementInspector not working with "ddl-auto=create" or SchemaManagerHHH-19268
- Allow Hibernate Reactive to override methods in JdbcEnvironemntInitiatorHHH-19267Resolved issue: HHH-19267Davide D'Alto
- inconsistencies in ScrollableResultsHHH-19266Resolved issue: HHH-19266Gavin King
- deprecate hibernate.jdbc.use_scrollable_resultsetHHH-19265Resolved issue: HHH-19265Gavin King
- Add a TimestampWithTimeZoneJdbcType variant that uses ZonedDateTime instead of OffsetDateTime to bind/extract column valuesHHH-19264Resolved issue: HHH-19264
- Do not bind to JNDI if hibernate.session_factory_name_is_jndi is set to falseHHH-19263Resolved issue: HHH-19263Scott Marlow
- OracleDialect getQueryHintString incorrectly joins supplied hintsHHH-19261
50 of
Return only distinct elements when query is hinted with EntityGraph
Fixed
Description
Details
Assignee
Vlad MihalceaVlad MihalceaReporter
Harsh PanchalHarsh PanchalComponents
Fix versions
Priority
Minor
Details
Details
Assignee
Vlad Mihalcea
Vlad MihalceaReporter
Harsh Panchal
Harsh PanchalComponents
Fix versions
Priority
Created March 14, 2017 at 4:07 AM
Updated April 14, 2017 at 10:13 AM
Resolved March 22, 2017 at 2:27 PM
Activity
Show:
Vlad MihalceaMarch 22, 2017 at 2:27 PM
Applied PR upstream.
I came to an unwanted behavior of Hibernate while retrieving many to many relationship by fetch graph hinted hql. Hibernate executed left outer join query to retrieve that entity and thus returned duplicate results (reason).
But my point is that there is a difference between user specifying Entity graph and manually executing HQL query with left joins.
When user is explicitly executing left outer join, he might be aware of possibility of duplication, but this is not the case with entity graph. User might be unaware of this & he may rely on size() operation to get the count. Besides, entity graph contract only tells about properties to be fetched, so it should not modify the result set (especially the count of returned entities)