在MyBatis的PostgreSQL的運行時選擇我得到這個錯誤: ### The error may exist in data/mapper.xml
### The error may involve Transaccion.selectDeFraude-Inline
### The error occurred while setting parameters
### SQL: SEL
我想用幾個條件執行一個SELECT,使用Ibator生成的Example類。 如上所述here in the usage notes,它很容易使用criteria.andFieldIsSomething()和example.or(example)組成一個WHERE條款與多個OR和AND運營商。 我可以這樣寫: example.createCriteria().andIntegerIsEqualTo
我有這樣的: public interface PermessiMapper {
final String SELECT_PERMESSI = "SELECT PR.CODICE as CODICE, PR.DESCRIZIONE as DESCRIZIONE FROM PERMISSION PR INNER JOIN USER_PERMISSION UP ON PR.CODICE=UP.PER