This method will return to you the hibernate's metadata for a specific entity.
The Hibernate Java ClassMetadata Object (https://docs.jboss.org/hibernate/orm/3.5/javadocs/org/hibernate/metadata/ClassMetadata.htmlarrow-up-right)
ClassMetadata
Key
Type
Required
Default
Description
entity
any
Yes
---
The entity name or entity object
var md = ORMService.getEntityMetadata( entity );
Last updated 6 years ago
Was this helpful?