I am trying to pass in startSequenceId, stopSequenceId, orderNumber into the SQL map, however, i don\'t wish to use a typed object, i.
startSequenceId
stopSequenceId
orderNumber
You can use the built in parameterType 'map' eg
Map parms = new HashMap(); parms.put("name", "abc"); parms.put("phone", "123"); parms.put("email", "123@email.com"); List list = myBatis.selectList("getContacts",parms); SELECT * FROM CONTACT WHERE CONTACT_NAME = ${name} AND CONTACT_PHONE = ${phone} AND CONTACT_MAIl = ${email}