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 SummaryOptional Elements
- 
Field SummaryFields
- 
Field Details- 
DEFAULT_COLUMN_NAME- See Also:
 
 
- 
- 
Element Details- 
columnThe name of the single column in the view.- Returns:
- the column name (default DATA)
 - Default:
- "DATA"
 
- 
valueThe Json View name in the database.- Returns:
- the json view
 - Default:
- ""
 
- 
schemaOnly applies to supported databases.- Returns:
- the schema to use for the query
 - Default:
- ""
 
- 
alias- Returns:
- The view alias to use for the query
 - Default:
- ""
 
 
-