Package com.blazebit.persistence.view
Annotation Type MappingSingular
@Target({METHOD,PARAMETER,FIELD}) @Retention(RUNTIME) public @interface MappingSingular
Specifies that the annotated attribute should be singular.
The default attribute type is based on the java type of the attribute.
Sometimes one might want to map a collection, which normally is a plural type,
as singular type because a user type is used in the underlying
persistence provider.
- Since:
- 1.0.0
- Author:
- Christian Beikov