Annotation Interface Virtual


@Prefix("v_") @Column @Documented @Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface Virtual
Marked the element is a virtual property, it's value generated by a json. A Virtual column is normal annotated on a getter method.
      ALTER TABLE {tableName} ADD {virtual column name} {virtual column type}
      GENERATED ALWAYS AS JSON_UNQUOTE({column}->{path});
 
从以下版本开始:
1.0.0
版本:
1.0.0
作者:
ilikly
另请参阅: