To create an immutable class in Hibernate, you should mark all class properties as 'final' and provide only getter methods for them without any setters. Additionally, you can use the 'mutable' attribute of the 'property' or 'component' element in the Hibernate mapping file to make a property or component immutable.