@JsonView(entity = Student.class)
public record StudentView(
    @Id
    @GeneratedValue
    Long id,
    String name,

    @Relation(value = Relation.Kind.ONE_TO_MANY)
    @JoinColumn(name = "id", referencedColumnName = "student_id")
    List<studentschedulesubview> schedule,

    @JsonProperty("_metadata")
    Metadata metadata
) {
}</studentschedulesubview>
@ClientInfo.Attribute(
    name = "OCSID.MODULE",
    value = "driver-search"
)
@JdbcRepository(dialect = Dialect.ORACLE)
interface DriverRepository extends CrudRepository<driver, long=""> {

    @ClientInfo.Attribute(
        name = "OCSID.ACTION",
        value = "nearby-drivers"
    )
    List<driver> findByLocationNear(Point point, double distance);
}