Package org.hibernate.boot.model.naming
Interface EntityNaming
-
- All Known Subinterfaces:
EntityNamingSource
public interface EntityNaming
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getClassName()
Retrieve the fully-qualified entity class name.String
getEntityName()
The Hibernate entity name.String
getJpaEntityName()
The JPA-specific entity name.
-
-
-
Method Detail
-
getClassName
String getClassName()
Retrieve the fully-qualified entity class name. Note that for dynamic entities, this may return (what???). todo : what should this return for dynamic entities? null? The entity name?- Returns:
- The entity class name.
-
getEntityName
String getEntityName()
The Hibernate entity name. This might be either:- The explicitly specified entity name, if one
- The unqualified entity class name if no entity name was explicitly specified
- Returns:
- The Hibernate entity name
-
getJpaEntityName
String getJpaEntityName()
The JPA-specific entity name. SeeEntity.name()
for details.- Returns:
- The JPA entity name, if one was specified. May return
null
if one was not explicitly specified.
-
-