mybatis
mybatis
星语神话
这个作者很懒,什么都没留下…
展开
-
mybatis的复习题总结
1.#{}和${}的区别 $符号 SELECT f.id as id, f.`name` as `name`, f.type as type, f.father_id as fatherId, c.id as subId, c.`name` as subName, c.type as subType, c.father_id as subFatherId FROM原创 2021-06-24 23:34:23 · 261 阅读 · 2 评论 -
mybatis原理
1.示例代码 public static void main(String[] args) { try { DataSource dataSource = getDateSource(); TransactionFactory transactionFactory = new JdbcTransactionFactory(); Environment environment = new Environment("原创 2021-06-24 02:13:27 · 166 阅读 · 0 评论