Learn, Share, Build

268
September 20, 2017, at 8:51 PM

I have 2 types: AdvisorId,TeacherId. each have some strings and floats I want to use them in my MyBatis mapper, I am trying to do it this way:

@Select("<script>" +
        " select something from something where " +
        "tName =#{ teacherIdParam.name} and " +
        "aName =#{ advisorIdParam.name}"  +
        "</script>")
Advisor getAdvisor(@Param("advisorIdParam") AdvisorId advisorId, @Param("teacherIdParam") TeacherId teacherId);

Could you, please, advice how can I access inner fields of my parameters ?

Rent Charter Buses Company
READ ALSO
Learn, Share, Build

Learn, Share, Build

i am developing a micro service based systemit need to input user interactions such as action taken,action taken by,updated date,multiple comments for all the services

297
Learn, Share, Build

Learn, Share, Build

Java based web application on a tomcat server with Oracle DB and AngularJS front end

288
Learn, Share, Build

Learn, Share, Build

Consider the followingproto structure:

282
Learn, Share, Build

Learn, Share, Build

In Kotlin they are introduced a keyword val and it is interoperable with Java (we can access functions and members from Java, and vice versa)

270