Questions tagged as 'mybatis'

1
answer

MyBatis update timeout does not run

When I execute an UPDATE in MyBatis it hangs, if I put timeout "20" it interrupts the execution due to the excess of time. Mapper: <update id="actualizarUnaSalida" timeout="20"> UPDATE dbo.TbSALIDAS SET Facturado=1 WHERE...
asked by 28.06.2017 / 12:33
2
answers

Table lock caused by MysQL trigger

Currently I have a problem apparently with some triggers in one of my tables as it is blocked, by doing a few "INSERTS" the table works correctly but by doing many simultaneous INSERTS (I'm using JMeter for load tests) a DeadLock appear...
asked by 04.04.2018 / 19:02
1
answer

associations with annotations in MyBatis

Good day family, I have a rest project mounted on Spring. I have an endpoind that works for me and returns an array of objects: [ { "accountBankId": "24083410-1d00-43a9-9a14-09bd865a1381", "accountId": 1, "accountName": "Banco de...
asked by 17.03.2016 / 20:19
1
answer

Unknown error

These are my XML files: -Client.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd"> <sqlMap namespace="Cliente">...
asked by 02.06.2018 / 19:25
0
answers

MyBatis resultType TreeMap - Does not show Null

I have a select with more than 200 columns, so the resultType I use is a TreeMap. <select id="getUsuarios" resultType="java.util.TreeMap"> SELECT * FROM USUARIOS </select> The structure of the table would look like this: I...
asked by 22.05.2018 / 16:06
1
answer

Mybatis, referencing a class from another project in the Mapper.xml

Good morning, I am using MyBatis and I am having a ClassNotFound error in a resultMap in which I have a class from another project referenced. I attach code below: - Mapper.xml : Here I will only place the resultMap, which is where I am ha...
asked by 20.09.2017 / 10:19