Jakarta Persistence (JPA) Method
EmbeddableType<X> embeddable(
Class<X> cls
)
Return the metamodel embeddable type representing the embeddable class.
- Parameters:
cls- the type of the represented embeddable class
- Returns:
- the metamodel embeddable type.
- Throws:
- if not an embeddable class.IllegalArgumentException
- Since:
- Jakarta Persistence (JPA) 1.0