Sample code is required for documentation of disabling polymorphism in queries

Description

In section 15.19. Polymorphism, in the note block it said that

This can be altered by using either the org.hibernate.annotations.Polymorphism annotation (global, and Hibernate-specific) or limiting them using in the query itself using an entity type expression.

So I believe a sample applying limitation on polymorphic queries is needed

Status

Assignee

Unassigned

Reporter

Amir Pashazadeh

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.3.1

Priority

Minor
Configure