2019-07-27 to 2019-08-03 problems encountered and solutions

1, mybatis call mysql stored procedure issues

  mysql stored procedure can not return to a dynamic cursor, until with oracle, oracle know can return sys_cursor, but not mysql. In mysql, if you want the stored procedure returns list, is directly accept a return value, such as select * from user, this will return a list type. Automatically returned to the client. Can be received in the mybatis. When a plurality select a stored procedure, only the first select query returns the result obtained, and the back of the sql statement will not execute. However, for example, select xxxx into xxx from xxxx, this will not be returned.

Guess you like

Origin www.cnblogs.com/Lighting-Sui/p/11260803.html