2016-04-04 36 views
0

設置結果對象上的屬性我無法找出解決方案如下錯誤獲取錯誤ibatis的

[[email protected]]. Cause: com.ibatis.common.jdbc.exception.NestedSQLException: 
--- The error occurred in sm/sql/sm.xml. 
--- The error occurred while applying a result map. 
--- Check the getbanktMap. 
--- The error happened while setting a property on the result object. 
--- Cause: java.sql.SQLSyntaxErrorException: ORA-01722: invalid number 


public class BankVO implements Serializable{ 


    private String rol1,rol2,rol3,rol4,rol5,rol6,rol7,rol8,rol9,rol10; 
//setters and getters 

} 

請在這個

回答

0

也許,這個問題是在映射器幫助。 Oracle錯誤代碼ORA-01722表示「無效號碼」,請檢查您的映射器是否寫在日誌中:

---檢查getbanktMap。