Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

@sqlresultsetmapping

@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")})})
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+2 =