Top Methods
org.hibernate.boot.model.naming

public Interface EntityNaming

Known Direct Subinterfaces
org.hibernate.boot.model.source.spi.EntityNamingSource

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The entity class name.
getClassName
()

Retrieve the fully-qualified entity class name.

public String

Returns:

The Hibernate entity name
getEntityName
()

The Hibernate entity name.

public String

Returns:

The JPA entity name, if one was specified. May return null if one was not explicitly specified.
getJpaEntityName
()

The JPA-specific entity name.

Method Detail

getClassNameback to summary
public 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:String

The entity class name.

getEntityNameback to summary
public 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:String

The Hibernate entity name

getJpaEntityNameback to summary
public String getJpaEntityName()

The JPA-specific entity name. See javax.persistence.Entity#name() for details.

Returns:String

The JPA entity name, if one was specified. May return null if one was not explicitly specified.