Hibernate uses CGLIB to dynamically create subclasses of your entity types at
runtime. To guarantee that Hibernate and CGLIB can correctly see the types,
you must add an Import-Library
for the Hibernate library
into any bundle that uses Hibernate directly and any bundle that contains
types to be persisted by Hibernate.