@jakarta.persistence.Entity.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The non-default name or the short class name of this entityReturns the name of this entity. |
| public IQuery | Returns: TheIQuery representing the JPQL query named with the given name; or
null if none could be foundThe name of the JPQL query to retrieve queryName)Returns the external form of the given named query; |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of this entity.
| |
| getNamedQuery | back to summary |
|---|---|
| public IQuery getNamedQuery(String queryName) Returns the external form of the given named query; | |