Package io.micronaut.data.annotation
Annotation Interface JsonView
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,TYPE,FIELD})
@Documented
@MappedEntity
@EntityRepresentation(type=COLUMN,
columnType=JSON)
public @interface JsonView
The annotation defining Json Duality View. Currently supported only by Oracle database.
- Since:
- 4.0.0
- Author:
- radovanradic
-
Optional Element Summary
-
Field Summary
-
Field Details
-
DEFAULT_COLUMN_NAME
- See Also:
-
-
Element Details
-
column
The name of the single column in the view.- Returns:
- the column name (default DATA)
- Default:
- "DATA"
-
value
The Json View name in the database.- Returns:
- the json view
- Default:
- ""
-
schema
Only applies to supported databases.- Returns:
- the schema to use for the query
- Default:
- ""
-
alias
- Returns:
- The view alias to use for the query
- Default:
- ""
-