1. 程式人生 > >mybatis逆向工程生成的Example類的使用

mybatis逆向工程生成的Example類的使用

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 測試結果(資料庫中有兩個username為張三): DEBUG [main] - ==> Preparing: select id, username, birthday, sex, address from user WHERE ( username = ? ) order by username asc DEBUG [main] - > Parameters: 張三(String) DEBUG [main] - < Total: 2 DEBUG [main] - Closing non transactional SqlSession [
[email protected]
] DEBUG [main] - Returning JDBC Connection to DataSource [[email protected], [email protected]]