We're updating the issue view to help you get more done. 

Documentation should state how to configure javassist as bytecode provider

Description

The byte code provider that Hibernate uses is determined statically:
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/main/java/org/hibernate/cfg/Environment.java#L173-L231

By default ByteBuddy is used. In order for Hibernate to use Javassist, hibernate.bytecode.provider must be mapped as a system property or hibernate.properties. A system property setting has precedence over a setting in hibernate.properties.

This should be documented in user guide.

Environment

None

Status

Assignee

Gail Badner

Reporter

Gail Badner

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.4.2
5.3.9

Priority

Major