Calling Oracle stored procedures with MyBatis
I am in the process of moving our database over to Oracle from SQL Server 2008 but cannot get MyBatis to work. Given the following example: UserMapper.xml (example) <resultMap type="User" id="UserResult"> <id property="userId" column="userId"/> <result property="firstName" column="firstName"/> <result property="lastName" column="lastName"/> </resultMap> <select id="getUsers" statementType="CALLABLE" resultMap="UserResult"> {CALL GetUsers()} </select> UserDAO.java public interface UserDAO { public List<User> getUsers(); } SQL Server procedure CREATE PROCEDURE [dbo].[GetUsers] AS BEGIN SET