📜  @sqlresultsetmapping - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:02.639000             🧑  作者: Mango

代码示例2
@SqlResultSetMapping(
    name="ScheduleResult",
    classes={
      @ConstructorResult(
        targetClass=com.baeldung.sqlresultsetmapping.ScheduledDay.class,
        columns={
          @ColumnResult(name="id", type=Long.class),
          @ColumnResult(name="employeeId", type=Long.class),
          @ColumnResult(name="dayOfWeek")})})